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

Disassembly:
push 0xffffffffffffffff
push 0x48e050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push edi
mov eax, dword [esi + 0x78]
push 0x1009
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 8]
push 1
push ecx
push edi
call sub.iphlpapi.dll_GetTcpTable
cmp eax, 0x7a
jne 0x40146c
mov edx, dword [esp + 8]
push ebx
push edx
call fcn.00423dab
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], ebx
push 1
push eax
push ebx
call sub.iphlpapi.dll_GetTcpTable
test eax, eax
jne 0x40144c
mov eax, dword [ebx]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x40144c
push ebp
add ebx, 4
jmp 0x40122e
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x78]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [ebx + 0xc]
mov edi, eax
push ebp
mov esi, str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401276
test cl, cl
je 0x401272
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401276
add eax, 2
add esi, 2
test cl, cl
jne 0x401252
xor eax, eax
jmp 0x40127b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40142f
push ebp
mov esi, str.0.0.0.0
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4012b3
test cl, cl
je 0x4012af
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4012b3
add eax, 2
add esi, 2
test cl, cl
jne 0x40128f
xor eax, eax
jmp 0x4012b8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40142f
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
push ebp
call esi
mov ecx, dword [esp + 0x14]
push eax
call fcn.004014b0
test eax, eax
je 0x40142f
mov eax, dword [0x4afd08]
mov dword [esp + 0x1c], eax
mov cx, word [ebx + 8]
mov dword [esp + 0x30], 0
push ecx
call dword [sym.imp.WS2_32.dll_htons]
and eax, 0xffff
lea edx, [esp + 0x1c]
push eax
push 0x4ac1a4
push edx
call fcn.0047a92c
add esp, 0xc
push ebp
call esi
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea esi, [ecx + 0x5c]
push eax
push edi
push 1
mov ecx, esi
call fcn.0047b2ce
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
push 1
push edi
call fcn.0047b39e
mov eax, dword [ebx]
lea ecx, [eax - 3]
cmp ecx, 8
ja case.0x401349.4
jmp dword [ecx*4 + 0x401480]
push 0x4ac19c
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push 0x4ac194
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push str.FIN1
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push str.FIN2
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push 0x4ac170
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push str.ACK
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
push 0x4ac158
push 2
push edi
mov ecx, esi
call fcn.0047b39e
jmp 0x40140f
mov ecx, dword [0x4afd08]
mov dword [esp + 0x18], ecx
push eax
lea edx, [esp + 0x1c]
push 0x4ac1a4
push edx
mov byte [esp + 0x3c], 1
call fcn.0047a92c
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
push eax
push 2
push edi
call fcn.0047b39e
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0048105e
push 0x4ac154
push 3
push edi
mov ecx, esi
call fcn.0047b39e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0048105e
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc eax
add ebx, 0x14
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x40122a
mov ebx, ecx
pop ebp
push ebx
call fcn.00423cc2
add esp, 4
mov eax, 1
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret