Function at 0x416200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x100e0
call fcn.00526390
mov ebx, ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
test byte [ecx], 1
je 0x41623e
mov ecx, dword [ecx + 8]
jmp 0x41623f
inc ecx
lea esi, [esp + 8]
push eax
push ecx
push str._s__d
push esi
call fcn.004ba8a0
add esp, 0x10
mov ecx, ebx
push esi
push 0x444e4553
call fcn.004139e0
test al, al
je 0x4163d2
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
lea edi, [esi + 1]
test byte [esi], 1
mov eax, edi
je 0x41628a
mov eax, dword [esi + 8]
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.004796c0
add esp, 8
cmp eax, 0xffffffff
je 0x4163fc
test byte [esi], 1
mov dword [esp], edi
mov eax, edi
je 0x4162ae
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
push 0x80
push eax
call fcn.0046ff90
add esp, 8
mov esi, eax
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call edi
mov ecx, edi
mov edi, dword [eax]
call ecx
mov dword [eax], edi
mov edi, esi
test esi, esi
js 0x416445
lea eax, [esp + 0xd8]
push 0x10004
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [esp + 0xd4], 0x41544144
lea eax, [ebx + 0x78]
mov dword [esp + 0x40], eax
lea eax, [ebx + 0xb8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], edi
nop
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x4c]
mov esi, ebx
push dword [ebx + 4]
lea ecx, [esp + 0xe0]
push ecx
push eax
call fcn.00470c70
add esp, 0xc
test eax, eax
je 0x4164b2
mov edi, eax
cmp eax, 0xffffffff
je 0x41647d
mov dword [esp + 0xd8], edi
lea eax, [edi + 8]
mov ebx, esi
mov ecx, esi
push eax
lea eax, [esp + 0xd8]
push eax
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.00415220
add dword [ebx + 0x90], edi
adc dword [ebx + 0x94], 0
add dword [ebx + 0x50], edi
adc dword [ebx + 0x54], 0
mov eax, edi
sar eax, 0x1f
mov edx, dword [esp + 0x1c]
add edx, edi
mov edi, dword [esp + 0x18]
adc edi, eax
mov ecx, dword [esp + 0x40]
push dword [esp + 0x44]
push dword [esp + 0x4c]
mov dword [esp + 0x20], edi
push edi
mov dword [esp + 0x28], edx
push edx
push esi
push dword [esp + 0x50]
call fcn.00415f80
mov edi, dword [esp + 4]
jmp 0x416330
test byte [esp + 8], 1
je 0x4163df
mov esi, dword [esp + 0x10]
jmp 0x4163e3
lea esi, [esp + 9]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push esi
push str.failed_to_send_ID_SEND_V1_message__s:__s
jmp 0x41641b
test byte [esi], 1
je 0x416404
mov edi, dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push edi
push str.cannot_stat__s:__s
push ebx
call fcn.00413060
add esp, 0x10
xor ebx, ebx
test byte [esp + 8], 1
je 0x416439
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
test byte [eax], 1
je 0x416453
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push dword [esp + 4]
push str.opening__s_locally_failed:__s
push ebx
call fcn.00413060
add esp, 0x10
xor ebx, ebx
jmp 0x4165ff
mov eax, dword [ebp + 0x10]
test byte [eax], 1
mov edi, dword [esp]
je 0x41648b
mov edi, dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push edi
push str.reading__s_locally_failed:__s
push esi
call fcn.00413060
add esp, 0x10
xor ebx, ebx
jmp 0x4165fb
xorps xmm0, xmm0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x88], 0x454e4f44
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x20]
push dword [ebp + 0x10]
call fcn.0051f860
lea ecx, [esp + 0x30]
push dword [ebp + 0x14]
call fcn.0051f860
mov edi, esi
mov esi, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
mov ecx, eax
sub ecx, esi
sar ecx, 2
imul ecx, ecx, 0xaa
dec ecx
xor edx, edx
cmp eax, esi
cmovne edx, ecx
add dword [edi + 0x80], 1
adc dword [edi + 0x84], 0
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
mov ecx, dword [edi + 0x1c]
add ecx, dword [edi + 0x18]
cmp edx, ecx
jne 0x41655b
lea ecx, [edi + 8]
call fcn.004154d0
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x1c]
add ecx, dword [edi + 0x18]
mov edx, 0xc0c0c0c1
mov eax, ecx
mul edx
shr edx, 7
mov eax, dword [esi + edx*4]
imul edx, edx, 0xaa
sub ecx, edx
lea ecx, [ecx + ecx*2]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*8 + 8], edx
movsd xmm0, qword [esp + 0x20]
movsd qword [eax + ecx*8], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*8 + 0x14], edx
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + ecx*8 + 0xc], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
inc dword [edi + 0x1c]
test byte [esp + 0x20], 1
je 0x4165e2
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
lea eax, [esp + 0x88]
mov ecx, edi
push 8
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00415220
mov ebx, eax
mov edi, dword [esp + 4]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
cmp edi, 0xffffffff
je 0x416615
push edi
call fcn.00448c60
add esp, 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], esi
test byte [esp + 8], 1
jne 0x41642d
jmp 0x416439