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

Disassembly:
push 0xffffffffffffffff
push 0x43b448
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x44e840]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e840]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x88]
xor ebx, ebx
mov eax, 0xf
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x404a11
lea ecx, [esi + 8]
mov eax, ecx
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4046c0
sub eax, ebp
push eax
push ecx
mov ecx, edi
call fcn.00401aa0
lea ecx, [esi + 0x10c]
mov eax, ecx
lea ebp, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4046e0
sub eax, ebp
push eax
push ecx
lea ecx, [edi + 0x1c]
call fcn.00401aa0
lea ecx, [esi + 0x22c]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404700
sub eax, ebp
push eax
push ecx
lea ecx, [edi + 0x38]
call fcn.00401aa0
lea ecx, [esi + 0x254]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404720
sub eax, ebp
push eax
push ecx
lea ecx, [edi + 0x54]
call fcn.00401aa0
mov eax, dword [esi + 0x19c]
mov dword [edi + 0xe0], eax
mov ecx, dword [esi + 0x1a0]
mov dword [edi + 0xe4], ecx
mov edx, dword [esi + 0x1a4]
mov dword [edi + 0xe8], edx
mov eax, dword [esi + 0x224]
mov dword [edi + 0xec], eax
mov ecx, dword [esi + 0x278]
mov dword [edi + 0x120], ecx
mov edx, dword [esi + 0x27c]
mov dword [edi + 0x124], edx
mov eax, dword [esi + 0x280]
mov dword [edi + 0x128], eax
mov ecx, dword [esi + 0x284]
mov dword [edi + 0x12c], ecx
lea ecx, [esi + 0x200]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4047a0
sub eax, ebp
push eax
push ecx
lea ecx, [edi + 0x8c]
call fcn.00401aa0
mov eax, dword [esi + 0x1a8]
cmp eax, ebx
je 0x404805
lea ecx, [eax + 4]
mov eax, ecx
lea ebp, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4047d0
sub eax, ebp
push eax
push ecx
lea ecx, [edi + 0xa8]
call fcn.00401aa0
mov ecx, dword [esi + 0x1a8]
add ecx, 0x14
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4047f6
sub eax, ebp
push eax
push ecx
jmp 0x40481e
push 7
push str.0.0.0.0
lea ecx, [edi + 0xa8]
call fcn.00401aa0
push 7
push str.0.0.0.0
lea ecx, [edi + 0xc4]
call fcn.00401aa0
lea ebp, [esi + 0x1ac]
cmp ebp, ebx
je 0x40488f
lea ecx, [ebp + 4]
mov eax, ecx
lea ebx, [eax + 1]
jmp 0x404840
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404840
sub eax, ebx
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00401aa0
lea ecx, [ebp + 0x14]
mov eax, ecx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404860
sub eax, ebx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00401aa0
lea edx, [esp + 0x3c]
push edx
lea ecx, [edi + 0x100]
call fcn.004044e0
mov ebp, dword [ebp]
test ebp, ebp
jne 0x404833
xor ebx, ebx
add esi, 0x1d4
cmp esi, ebx
je 0x40490e
lea ebx, [edi + 0x110]
nop
lea ecx, [esi + 4]
mov eax, ecx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
lea ebp, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4048c0
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401aa0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
mov byte [esp + 0x84], 1
call fcn.00404590
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x80], 0
jb 0x404906
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040a687
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4048a0
xor ebx, ebx
mov eax, dword [edi + 0xe0]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x4049fd
mov ecx, dword [esp + 0x14]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [edi + 0xe0]
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x28], esi
call sub.iphlpapi.dll_GetPerAdapterInfo
cmp eax, ebx
jne 0x4049ea
lea ebp, [esi + 0xc]
cmp ebp, ebx
je 0x4049e2
add edi, 0xf0
mov bl, 2
lea esp, [esp]
lea ecx, [ebp + 4]
mov eax, ecx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404990
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401aa0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x84], bl
call fcn.00404590
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x80], 0
jb 0x4049d5
mov edx, dword [esp + 0x24]
push edx
call fcn.0040a687
add esp, 4
mov ebp, dword [ebp]
test ebp, ebp
jne 0x404970
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x18], 1
cmp esi, ebx
je 0x4049fd
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x70], 0x10
jb 0x404a11
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040a687
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
jb 0x404a36
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0040a687
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00425f0e
add esp, 0x70
ret 4