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

Disassembly:
push 0xffffffffffffffff
push 0x430580
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3774]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xac]
push str.Iphlpapi.dll
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x28], ebp
je 0x42a71e
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetExtendedTcpTable
push ebp
call ebx
push str.GetExtendedUdpTable
push ebp
mov edi, eax
call ebx
test edi, edi
mov dword [esp + 0x14], eax
je 0x42a717
test eax, eax
je 0x42a717
push 0
push 5
push 2
push 1
lea ecx, [esp + 0x30]
push ecx
push 0
mov dword [esp + 0x38], 0
call edi
cmp eax, 0x7a
jne 0x42a717
mov eax, dword [esp + 0x20]
add eax, 0x40
push eax
mov dword [esp + 0x24], eax
call fcn.0042c584
add esp, 4
push 0
push 5
push 2
push 1
lea edx, [esp + 0x30]
mov ebx, eax
push edx
push ebx
mov dword [esp + 0x3c], ebx
call edi
cmp eax, 0x7a
jne 0x42a398
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x42a71e
mov eax, dword [ebx]
test eax, eax
lea ecx, [ebx + 4]
jbe 0x42a50b
mov ebp, ecx
mov dword [esp + 0x18], eax
jmp 0x42a3b0
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
xor edi, edi
call fcn.004179c0
test eax, eax
jbe 0x42a4f9
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esi + 4]
test eax, eax
je 0x42a411
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42a417
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, word [eax]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
cmp dword [esp + 0x38], ecx
jne 0x42a4e0
mov eax, dword [esi + 4]
test eax, eax
je 0x42a454
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42a45a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 4]
cmp dword [ebx + edx + 4], 0
jne 0x42a4e0
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
xor eax, eax
push edi
mov ecx, esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004179e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x48]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
call fcn.0041da40
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, esi
add edi, 1
add ebx, 0x28
call fcn.004179c0
cmp edi, eax
jb 0x42a3f0
mov ebx, dword [esp + 0x24]
add ebp, 0x18
sub dword [esp + 0x18], 1
jne 0x42a3b0
mov ebp, dword [esp + 0x28]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 1
push 2
push 1
lea eax, [esp + 0x2c]
push eax
push 0
mov dword [esp + 0x34], 0
call dword [esp + 0x2c]
cmp eax, 0x7a
jne 0x42a717
mov eax, dword [esp + 0x1c]
add eax, 0x40
push eax
mov dword [esp + 0x20], eax
call fcn.0042c584
add esp, 4
push 0
push 1
push 2
push 1
lea ecx, [esp + 0x2c]
mov ebp, eax
push ecx
push ebp
mov dword [esp + 0x3c], ebp
call dword [esp + 0x2c]
cmp eax, 0x7a
jne 0x42a582
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x42a71e
mov eax, dword [ebp]
test eax, eax
lea ecx, [ebp + 4]
jbe 0x42a6ff
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
xor edi, edi
call fcn.004179c0
test eax, eax
jbe 0x42a6ed
xor ebx, ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42a5e2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42a5e8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, word [eax]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
cmp dword [esp + 0x34], eax
jne 0x42a6cc
mov eax, dword [esi + 4]
test eax, eax
je 0x42a625
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42a62b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
mov ebp, 1
cmp dword [ebx + ecx + 4], ebp
jne 0x42a6d1
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
xor eax, eax
push edi
mov ecx, esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
call fcn.004179e0
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
call fcn.0041da40
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
jmp 0x42a6d1
mov ebp, 1
mov ecx, esi
add edi, ebp
add ebx, 0x28
call fcn.004179c0
cmp edi, eax
jb 0x42a5c1
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ebx, 0xc
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebx
jne 0x42a59a
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x42a720
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0042c614
add esp, 0x94
ret 8