Function at 0x1000b0b0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10017950
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x100220e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push str.Enter_
mov esi, ecx
xor ebx, ebx
push 0x30
push 4
mov edx, str.CNet::translate
mov ecx, str.._nets.cpp
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], ebx
call fcn.10001780
add esp, 0xc
cmp edi, ebx
jne 0x1000b12b
push str.NULL__server
push 0x36
push 2
mov edx, str.CNet::translate
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
jmp 0x1000b285
xor eax, eax
push 0x50
push 0x1001b840
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 0xa
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov byte [esp + 0x55], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push 0xa
push eax
mov byte [esp + 0x54], bl
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 6
call dword [sym.imp.MSVCR90.dll__snprintf_s]
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, ebx
je 0x1000b1c9
push eax
push str.getaddrinfo_error:_d
push 0x48
push 2
mov edx, str.CNet::translate
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0x10
jmp 0x1000b285
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.1000bae0
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x5c], ebx
call fcn.1000bae0
mov byte [esp + 0x58], 1
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push str.resolve__s_:__s
push 0x4e
push 3
mov edx, str.CNet::translate
mov ecx, str.._nets.cpp
call fcn.10001780
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b280
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1000b294
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push str.Leave_
push 0x59
push 4
mov edx, str.CNet::translate
mov ecx, str.._nets.cpp
call fcn.10001780
mov al, byte [esp + 0x1f]
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10015494
add esp, 0x50
ret