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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5de9b5
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.0041ac50
mov esi, dword [eax + 0x7c]
xor eax, eax
cmp esi, eax
je 0x52c923
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xf0], al
mov dword [esp + 0xf1], eax
mov word [esp + 0xf5], ax
mov byte [esp + 0xf7], al
call esi
mov edi, eax
cmp edi, 0x6f
jne 0x52c805
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.0043ee30
mov edi, eax
test edi, edi
mov dword [esp + 0x34], edi
je 0x52c214
mov eax, dword [esp + 0x38]
push eax
push 0
push edi
call fcn.005c0cf0
add esp, 0xc
test edi, edi
mov dword [esp + 0x100], 0
jne 0x52c2ee
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
lea ecx, [esp + 0x44]
push 0x6015b8
push ecx
mov byte [esp + 0x108], 1
call fcn.00409270
add esp, 8
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x100], 2
jb 0x52c276
mov eax, dword [eax + 4]
jmp 0x52c279
add eax, 4
push eax
push str.BaseLib::CIPConfig::BaseIPHlpConfig
push 0x7f6
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0xe4], esi
jb 0x52c2b3
mov eax, dword [esp + 0xd0]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x100], 0
call fcn.00409510
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
push 0
call fcn.005a1b1d
add esp, 8
jmp 0x52c923
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x1c], edi
call esi
mov esi, eax
test esi, esi
je 0x52c364
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
push esi
lea edx, [esp + 0x48]
push str.lpGetAdaptersInfo:_ret
push edx
mov byte [esp + 0x10c], 6
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x48]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x100], 7
jb 0x52c78c
mov eax, dword [eax + 4]
jmp 0x52c78f
mov edi, dword [esp + 0x14]
lea eax, [edi + 0x10c]
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
lea edx, [eax + 1]
jmp 0x52c390
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x52c390
sub eax, edx
push eax
lea eax, [edi + 0x10c]
push eax
lea ecx, [esp + 0xd4]
call fcn.00408ea0
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x104], 3
call fcn.00510270
mov esi, 1
add esp, 4
cmp dword [ebp + 8], esi
jne 0x52c408
mov edx, dword [ebx + 0x14]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.00527210
add esp, 8
test eax, eax
je 0x52c408
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x100], 0
call fcn.0040b640
jmp 0x52c4d7
cmp dword [ebp + 0x10], esi
jne 0x52c4e7
mov eax, dword [edi + 0x190]
cmp eax, 4
lea ecx, [edi + 0x194]
lea edx, [esp + 0xe8]
jb 0x52c444
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x52c448
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x52c430
test eax, eax
je 0x52c4a5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x52c497
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52c4a5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x52c497
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52c4a5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x52c497
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52c4a5
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x52c4a5
test esi, esi
mov eax, 1
jg 0x52c4a7
or eax, 0xffffffff
jmp 0x52c4a7
xor eax, eax
test eax, eax
jne 0x52c4e7
cmp dword [esp + 0xe4], 0x10
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov byte [esp + 0x100], 0
jb 0x52c4d3
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.005a1b1d
add esp, 4
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x14], 0
jne 0x52c360
jmp 0x52c7eb
push 0xf4
call fcn.005a1aed
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x100], 4
je 0x52c50f
mov ecx, eax
call fcn.00526f00
mov esi, eax
jmp 0x52c511
xor esi, esi
mov dword [esp + 0x28], esi
lea eax, [edi + 0x1d4]
test eax, eax
mov byte [esp + 0x100], 5
mov dword [esp + 0x18], eax
je 0x52c58c
jmp 0x52c534
mov eax, dword [esp + 0x18]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x52c57e
cmp ebx, 0xffffffff
je 0x52c57e
cmp dword [ebp + 0xc], 0
je 0x52c56e
cmp dword [edi + 0x1a4], 0
je 0x52c56e
push 0x60388c
call dword [sym.imp.WS2_32.dll_inet_addr]
movzx edx, bx
cmp edx, eax
je 0x52c57e
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xa4]
call fcn.004829c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x52c530
lea eax, [edi + 0x1ac]
test eax, eax
mov dword [esp + 0x18], eax
je 0x52c681
jmp 0x52c5a4
mov eax, dword [esp + 0x18]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
test ebx, ebx
je 0x52c66f
cmp ebx, 0xffffffff
je 0x52c66f
mov edx, dword [esp + 0x18]
add edx, 0x14
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esi + 0xac], 0
mov edi, eax
mov dword [esp + 0x30], edi
je 0x52c636
mov ecx, dword [esi + 0xa8]
mov ecx, dword [ecx]
lea eax, [esi + 0xa4]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.00412dd0
mov edx, dword [eax]
and edx, edi
and edi, ebx
cmp edx, edi
jne 0x52c62f
mov eax, dword [esi + 0x90]
mov eax, dword [eax]
lea ecx, [esi + 0x8c]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
lea eax, [esp + 0xd0]
push eax
call fcn.00526490
jmp 0x52c66b
lea ecx, [esp + 0x2c]
push ecx
jmp 0x52c660
cmp dword [ebp + 0xc], 0
je 0x52c65b
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x1a4], 0
je 0x52c65b
push 0x60388c
call dword [sym.imp.WS2_32.dll_inet_addr]
movzx ecx, bx
cmp ecx, eax
je 0x52c66b
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x8c]
call fcn.0043d140
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x52c5a0
mov ecx, dword [edi + 0x19c]
push esi
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00526530
lea eax, [edi + 0x1fc]
test eax, eax
je 0x52c6bb
lea ebx, [eax + 4]
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x52c6bb
cmp eax, 0xffffffff
je 0x52c6bb
push ebx
lea ecx, [esi + 0xd4]
call fcn.0040b4d0
mov ebx, dword [esp + 0x20]
xor eax, eax
cmp dword [esi + 0x94], eax
setne al
mov dword [esi], eax
cmp dword [ebx + 0x10], 0
jne 0x52c6da
test eax, eax
je 0x52c764
mov edx, dword [edi + 0x1a0]
lea eax, [edi + 0x10c]
push eax
lea ecx, [esi + 4]
mov dword [esi + 0xf0], edx
call fcn.0040b4d0
mov eax, dword [edi + 0x1a4]
lea ecx, [edi + 8]
push ecx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x74], eax
call fcn.0040b4d0
mov edx, dword [edi + 0x190]
mov dword [esi + 0x88], edx
lea eax, [esi + 0x78]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0x190]
push ecx
lea edx, [edi + 0x194]
push edx
push eax
call fcn.005c3170
lea eax, [esi + 0x80]
xor ecx, ecx
push eax
mov dword [eax], ecx
push esi
mov dword [eax + 4], ecx
call fcn.00525cc0
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], esi
call fcn.005264f0
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.005271f0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x100], 0
call fcn.0040b640
jmp 0x52c4d7
add eax, 4
push eax
push str.BaseLib::CIPConfig::BaseIPHlpConfig
push 0x870
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
lea ecx, [esp + 0xcc]
call fcn.0040b640
lea ecx, [esp + 0x90]
mov byte [esp + 0x100], 0
call fcn.00409510
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x104], 0xffffffff
call fcn.005a1b1d
jmp 0x52c911
cmp edi, 0xe8
je 0x52c914
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
push edi
push str._ret
mov dword [esp + 0x108], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x50]
push str.lpGetAdaptersInfo:
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x100], 9
jb 0x52c887
mov eax, dword [eax + 4]
jmp 0x52c88a
add eax, 4
push eax
push str.BaseLib::CIPConfig::BaseIPHlpConfig
push 0x877
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0xe4], esi
jb 0x52c8c4
mov edx, dword [esp + 0xd0]
push edx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov dword [esp + 0x100], 0xffffffff
call fcn.00409510
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, ebx
call fcn.0052b810
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret 0xc