Function at 0x1003ad30
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1004f8a4
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x588]
mov esi, dword [esp + 0x58c]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x24], ebx
mov al, byte [edi + 0x5f]
mov dword [esp + 0x18], ebp
test al, al
je 0x1003ad96
mov eax, 0x3ea
jmp 0x1003b236
mov ecx, esi
call fcn.10045810
cmp eax, dword [0x100596a4]
je 0x1003adaf
mov eax, 0x3ec
jmp 0x1003b236
lea ecx, [esp + 0xd8]
call fcn.100459b0
mov ecx, esi
call fcn.10045810
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
push eax
push edx
lea ecx, [esp + 0xe0]
call fcn.10045a50
push 0xa
push 0x20
lea eax, [esp + 0x158]
push eax
push 0x401
lea ecx, [esp + 0x180]
push ecx
push 0x1c
push ebp
call dword [sym.imp.WS2_32.dll_getnameinfo]
call fcn.10044dc0
sub eax, dword [edi + 0x1a0]
push ebx
sbb edx, dword [edi + 0x1a4]
push 0x3938700
push edx
push eax
call fcn.1004b2c0
mov ebp, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], 0x10059104
mov dword [esp + 0x40], 0x100590fc
lea ecx, [esp + 0x90]
mov dword [esp + 0x580], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x90], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10003e50
lea edx, [esp + 0x48]
push 0x20
lea ecx, [esp + 0x94]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ebx
call fcn.10007720
mov byte [esp + 0xd0], al
cmp dword [esp + 0xc8], ebx
jne 0x1003aea1
mov eax, dword [esp + 0x9c]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x98]
call fcn.10001b40
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x40], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x30], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x580], 5
mov dword [esp + edx + 0x30], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.10007250
mov dword [esp + 0x48], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x20]
push ebx
push ebp
push 0x1005e8e0
lea eax, [esp + 0x15c]
push eax
push 0x1005e8e0
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x59c], 7
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
mov ecx, eax
call fcn.10038840
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x34]
call fcn.1003ad10
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x580], 8
jb 0x1003af73
mov eax, dword [eax]
lea ecx, [esp + 0x140]
push ecx
push eax
call fcn.100450d0
add esp, 8
cmp dword [esp + 0x11c], 0x10
mov byte [esp + 0x580], 7
jb 0x1003afa6
mov edx, dword [esp + 0x108]
push edx
call fcn.10019165
add esp, 4
cmp dword [esp + 0xec], 1
jne 0x1003b03a
mov eax, dword [esp + 0x140]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xf4], eax
mov dword [ecx], edx
mov ecx, esi
call fcn.10045810
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0xe0]
call fcn.100459e0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x280]
push esi
push eax
call fcn.10045ce0
lea ecx, [esp + 0x90]
mov dword [esp + 0x580], 0xffffffff
call fcn.10036af0
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.1002ec48
add esp, 4
xor eax, eax
jmp 0x1003b236
mov edx, dword [esp + 0xf4]
cmp edx, dword [esp + 0x140]
je 0x1003b111
add ebp, 0xffffffff
adc ebx, 0xffffffff
push ebx
push ebp
push 0x1005e8e0
lea eax, [esp + 0x15c]
push eax
push 0x1005e8e0
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
push eax
call fcn.10001e80
add esp, 8
mov ecx, eax
call fcn.10038840
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x34]
call fcn.1003ad10
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x580], 9
jb 0x1003b0c0
mov eax, dword [eax]
lea ecx, [esp + 0x140]
push ecx
push eax
call fcn.100450d0
add esp, 8
lea ecx, [esp + 0x124]
mov byte [esp + 0x580], 7
call fcn.100021d0
mov edx, dword [esp + 0xf4]
cmp edx, dword [esp + 0x140]
je 0x1003b111
lea ecx, [esp + 0x30]
mov dword [esp + 0x580], 0xffffffff
call fcn.10037170
or eax, 0xffffffff
jmp 0x1003b236
mov ebp, dword [esp + 0xf0]
mov ecx, esi
call fcn.10045910
cmp eax, 1
jne 0x1003b1fb
mov ecx, esi
call fcn.10045920
test eax, eax
jne 0x1003b1fb
cmp dword [esp + 0xd8], 4
jne 0x1003b1ba
mov eax, dword [esp + 0xdc]
cmp eax, dword [edi + 4]
jne 0x1003b1ba
mov ebx, dword [esp + 0x18]
mov edx, dword [edi]
lea ecx, [esp + 0xd8]
push ecx
push ebx
push edx
mov ecx, 0x1006bc28
call fcn.10041bf0
cmp eax, 0xffffffff
jne 0x1003b179
mov dword [esp + 0xec], 0x3ea
jmp 0x1003b17e
cmp eax, 1
je 0x1003b1a2
mov eax, dword [0x100596a4]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.100459e0
push esi
push ebx
jmp 0x1003b1eb
push 1
push 4
lea edx, [edi + 0x2a4]
push edx
push edi
mov ecx, 0x1006bcb0
call fcn.10049020
jmp 0x1003b1fb
mov eax, dword [0x100596a4]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xec], 0x3ea
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.100459e0
mov edx, dword [esp + 0x18]
push esi
push edx
mov ecx, dword [esi + 0xc]
mov dword [ecx], ebp
mov ecx, dword [edi + 0x280]
call fcn.10045ce0
mov esi, dword [esp + 0xec]
lea ecx, [esp + 0x90]
mov dword [esp + 0x580], 0xffffffff
call fcn.10036af0
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.1002ec48
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.10019170
add esp, 0x570
ret 8