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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5de917
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
call fcn.0041ac50
mov esi, dword [eax + 0x80]
xor edi, edi
cmp esi, edi
je 0x52c131
xor eax, eax
mov dword [esp + 0x12d], eax
mov word [esp + 0x131], ax
mov byte [esp + 0x133], al
lea eax, [esp + 0x20]
push eax
push edi
push edi
push 0x86
push 0x17
mov dword [esp + 0x34], edi
mov byte [esp + 0x140], 0
call esi
cmp eax, 0x6f
jne 0x52c131
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043ee30
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x2c], ebx
je 0x52b8cd
mov edx, dword [esp + 0x30]
push edx
push edi
push ebx
call fcn.005c0cf0
add esp, 0xc
cmp ebx, edi
mov dword [esp + 0x348], edi
jne 0x52b9a2
push 1
push 2
lea ecx, [esp + 0x74]
call fcn.0040a750
lea eax, [esp + 0x6c]
push 0x6015b8
push eax
mov byte [esp + 0x350], 1
call fcn.00409270
add esp, 8
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x348], 2
jb 0x52b92b
mov eax, dword [eax + 4]
jmp 0x52b92e
add eax, 4
push eax
push str.BaseLib::CIPConfig::BaseIPv6Config
push 0x6db
push str..commonipconfig.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x108], esi
jb 0x52b968
mov edx, dword [esp + 0xf4]
push edx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0xb8]
mov byte [esp + 0x348], 0
call fcn.00409510
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xbc], vtable.std::ios_base.0
call fcn.005d9cc4
push edi
call fcn.005a1b1d
add esp, 8
jmp 0x52c131
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
push 0x86
push 0x17
call esi
cmp eax, edi
jne 0x52c128
mov dword [esp + 0x1c], ebx
mov edi, edi
lea ecx, [esp + 0x44]
mov edi, 1
call fcn.00534620
mov edx, dword [ebx + 0x24]
push 0
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x350], 3
call fcn.005347e0
mov ecx, eax
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x52ba08
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x118]
call fcn.00408ea0
lea eax, [esp + 0x110]
push eax
mov byte [esp + 0x34c], 4
call fcn.00510270
add esp, 4
cmp dword [ebp + 8], edi
jne 0x52ba5e
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [esp + 0x114]
push eax
call fcn.00527210
add esp, 8
test eax, eax
jne 0x52c0f8
cmp dword [ebp + 0xc], edi
jne 0x52bb38
mov eax, dword [ebx + 0x34]
cmp eax, 4
lea ecx, [ebx + 0x2c]
lea edx, [esp + 0x12c]
jb 0x52ba94
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x52ba98
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x52ba80
test eax, eax
je 0x52baf5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x52bae7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52baf5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x52bae7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52baf5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x52bae7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x52baf5
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x52baf5
test esi, esi
mov eax, 1
jg 0x52baf7
or eax, 0xffffffff
jmp 0x52baf7
xor eax, eax
test eax, eax
jne 0x52bb38
cmp dword [esp + 0x128], 0x10
jb 0x52bb15
mov edx, dword [esp + 0x114]
push edx
call fcn.005a1b1d
add esp, 4
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
jmp 0x52c104
push 0xf4
call fcn.005a1aed
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x348], 5
je 0x52bb60
mov ecx, eax
call fcn.00526f00
mov edi, eax
jmp 0x52bb62
xor edi, edi
mov dword [esp + 0x28], edi
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x118]
lea ecx, [edi + 4]
push eax
mov byte [esp + 0x354], 6
call fcn.00407630
mov ecx, dword [ebx + 0xc]
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x52bb90
sub eax, esi
push eax
push ecx
lea ecx, [edi + 0x3c]
call fcn.00408ea0
mov ecx, dword [ebx + 0x34]
mov dword [edi + 0x88], ecx
lea eax, [edi + 0x78]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0x34]
push edx
lea ecx, [ebx + 0x2c]
push ecx
push eax
call fcn.005c3170
mov esi, dword [ebx + 0x10]
add esp, 0xc
test esi, esi
je 0x52bd11
jmp 0x52bbe0
push 0x1ff
lea edx, [esp + 0x139]
push 0
push edx
mov byte [esp + 0x140], 0
call fcn.005c0cf0
mov edx, dword [esi + 0x10]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x138]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 0x200
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
push 4
lea ecx, [esp + 0x138]
push str.fe80
push ecx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bd06
push 5
lea edx, [esp + 0x138]
push str.2002:
push edx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bd06
lea eax, [esp + 0x134]
push 0x603838
push eax
call fcn.005be4ae
add esp, 8
test eax, eax
je 0x52bd06
push 5
lea ecx, [esp + 0x138]
push str.2001:
push ecx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bd06
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x34c], 7
call fcn.0040b4d0
movzx eax, byte [esi + 0x2c]
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [edi + 0x98]
mov dword [esp + 0x110], eax
call fcn.0043d260
lea ecx, [esp + 0xf0]
mov byte [esp + 0x348], 6
call fcn.004a2dd0
mov esi, dword [esi + 8]
test esi, esi
jne 0x52bbe0
call fcn.005069d0
test eax, eax
je 0x52be30
mov esi, dword [ebx + 0xa4]
test esi, esi
je 0x52be30
lea esp, [esp]
push 0x1ff
lea edx, [esp + 0x139]
push 0
push edx
mov byte [esp + 0x140], 0
call fcn.005c0cf0
mov edx, dword [esi + 0x10]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x138]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 0x200
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
push 4
lea ecx, [esp + 0x138]
push str.fe80
push ecx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52be25
push 5
lea edx, [esp + 0x138]
push str.2002:
push edx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52be25
lea eax, [esp + 0x134]
push 0x603838
push eax
call fcn.005be4ae
add esp, 8
test eax, eax
je 0x52be25
push 5
lea ecx, [esp + 0x138]
push str.2001:
push ecx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52be25
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xf4]
call fcn.0040b540
lea eax, [esp + 0xf0]
push eax
lea ecx, [edi + 0xb0]
mov byte [esp + 0x34c], 8
call fcn.0043d020
lea ecx, [esp + 0xf0]
mov byte [esp + 0x348], 6
call fcn.0040b640
mov esi, dword [esi + 8]
test esi, esi
jne 0x52bd30
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x52bf40
jmp 0x52be40
push 0x1ff
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.005c0cf0
mov ecx, dword [esi + 0x10]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x138]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x24], 0x200
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
push 4
lea eax, [esp + 0x138]
push str.fe80
push eax
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bf35
push 5
lea ecx, [esp + 0x138]
push str.2002:
push ecx
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bf35
lea edx, [esp + 0x134]
push 0x603838
push edx
call fcn.005be4ae
add esp, 8
test eax, eax
je 0x52bf35
push 5
lea eax, [esp + 0x138]
push str.2001:
push eax
call fcn.005c1e85
add esp, 0xc
test eax, eax
je 0x52bf35
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0xf4]
call fcn.0040b540
lea edx, [esp + 0xf0]
push edx
lea ecx, [edi + 0xc8]
mov byte [esp + 0x34c], 9
call fcn.0043d020
lea ecx, [esp + 0xf0]
mov byte [esp + 0x348], 6
call fcn.0040b640
mov esi, dword [esi + 8]
test esi, esi
jne 0x52be40
cmp dword [edi + 0xa0], 0
jne 0x52bf57
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x10], 0
je 0x52c0ef
lea ecx, [esp + 0x54]
call fcn.00534620
mov ecx, dword [ebx + 0x28]
push 0
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x350], 0xa
call fcn.005347e0
push eax
lea ecx, [esp + 0xf4]
call fcn.0040b540
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 8]
mov eax, dword [eax]
add esi, 4
mov byte [esp + 0x348], 0xb
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], esi
mov edx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edx
call fcn.00434710
test al, al
je 0x52c089
cmp dword [edi + 0x54], 0x10
jb 0x52bfcc
mov ebx, dword [edi + 0x40]
jmp 0x52bfcf
lea ebx, [edi + 0x40]
lea ecx, [esp + 0x14]
call fcn.00412dd0
mov eax, dword [eax]
add eax, 0x3c
cmp dword [eax + 0x18], 0x10
jb 0x52bfe8
mov eax, dword [eax + 4]
jmp 0x52bfeb
add eax, 4
push ebx
push eax
call fcn.005be4ae
add esp, 8
test eax, eax
je 0x52c00f
push 0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004569e0
mov ebx, dword [esp + 0x1c]
jmp 0x52bfa4
lea ecx, [esp + 0x14]
call fcn.00412dd0
mov ecx, dword [eax]
lea edx, [edi + 0x98]
push edx
add ecx, 0x98
call fcn.00528a10
lea ecx, [esp + 0x14]
call fcn.00412dd0
lea ecx, [edi + 0xb0]
push ecx
mov ecx, dword [eax]
add ecx, 0xb0
call fcn.004828f0
lea ecx, [esp + 0x14]
call fcn.00412dd0
mov ecx, dword [eax]
lea edx, [edi + 0xc8]
push edx
add ecx, 0xc8
call fcn.004828f0
lea ecx, [esp + 0x14]
call fcn.00412dd0
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
add ecx, 0x20
push eax
call fcn.00407630
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x3c]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
call fcn.00434940
test al, al
je 0x52c0d2
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
lea ecx, [edi + 0x20]
push eax
call fcn.00407630
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], edi
call fcn.005264f0
lea ecx, [esp + 0xf0]
call fcn.0040b640
lea ecx, [esp + 0x54]
mov byte [esp + 0x348], 6
call fcn.00534630
lea ecx, [esp + 0x28]
call fcn.005271f0
lea ecx, [esp + 0x110]
call fcn.0040b640
lea ecx, [esp + 0x44]
mov byte [esp + 0x348], 0
call fcn.00534630
mov ebx, dword [ebx + 8]
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x52b9c0
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.005a1b1d
add esp, 4
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret 8