Function at 0x440f00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x90], 0
call fcn.00441500
mov edi, eax
lea eax, [esp + 0x20]
mov dword [esp + 0xa8], 0
push eax
mov ecx, ebx
call fcn.004414c0
mov esi, eax
mov byte [esp + 0xa8], 1
cmp dword [edi + 0x14], 0x10
jb 0x440f9b
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x440fa3
mov esi, dword [esi]
test esi, esi
je 0x440fac
cmp byte [esi], 0
jne 0x440fae
xor esi, esi
test edi, edi
je 0x440fb7
cmp byte [edi], 0
jne 0x440fb9
xor edi, edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [esp + 0x8c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0043e130
mov edi, dword [esp + 0x1c]
mov ecx, eax
add esp, 8
cmp dword [esp + 0x34], 0x10
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44100d
push dword [esp + 0x20]
call eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jb 0x441035
push dword [esp + 0x74]
call eax
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x90], esi
mov dword [esp + 0xa8], 2
cmp dword [edi], 0
je 0x44107a
xor edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 3
mov dword [esp + 0x14], ecx
lea ebx, [edi + 1]
jmp 0x4410df
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00441500
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0xa8], 4
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 2
call fcn.004414c0
push edi
push eax
mov dword [esp + 0xb0], 5
lea eax, [esp + 0x70]
push dword [esp + 0x94]
mov dword [esp + 0x24], 6
push eax
call fcn.00441540
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ecx, eax
mov dword [esp + 0x14], eax
mov ebx, 0xe
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00419cc0
mov ecx, dword [esp + 0x14]
or ebx, 0x10
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
test bl, 8
je 0x44114c
mov edx, dword [esp + 0x6c]
and ebx, 0xfffffff7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
test edx, edx
je 0x44114c
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x44114c
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
jne 0x44114c
mov eax, dword [ecx]
call dword [eax + 4]
test bl, 4
je 0x44117d
and ebx, 0xfffffffb
cmp dword [esp + 0x64], 0x10
jb 0x441168
push dword [esp + 0x50]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
test bl, 2
je 0x4411ae
and ebx, 0xfffffffd
cmp dword [esp + 0x4c], 0x10
jb 0x441199
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0xa8], 2
test bl, 1
je 0x4411e7
test edi, edi
je 0x4411e7
or ebx, 0xffffffff
lea eax, [edi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x4411e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4411e7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test esi, esi
je 0x4411f2
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 0x10