Function at 0x41daf0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45db85
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x476458]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov edi, edx
mov dword [ebp - 0x50], eax
push edi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
call fcn.0041ddb0
mov ebx, eax
push edi
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0041dd80
mov ecx, 0x10
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], ecx
jb 0x41db59
mov ebx, dword [ebx]
cmp dword [eax + 0x14], ecx
jb 0x41db62
mov esi, dword [eax]
jmp 0x41db64
mov esi, eax
test esi, esi
je 0x41db6d
cmp byte [esi], 0
jne 0x41db6f
xor esi, esi
test ebx, ebx
je 0x41db78
cmp byte [ebx], 0
jne 0x41db7a
xor ebx, ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea edx, [ebp - 0x58]
push edx
push edi
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
lea esi, [ebp - 0x64]
call fcn.00420040
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jb 0x41dbb6
mov eax, dword [ebp - 0x30]
push eax
call fcn.004410cb
add esp, 4
xor esi, esi
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
jb 0x41dbd8
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004410cb
add esp, 4
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 3
cmp dword [ebx], esi
je 0x41dc00
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
lea edi, [ebp - 0x68]
mov byte [ebp - 4], 4
mov ebx, 1
jmp 0x41dc4d
push edi
lea esi, [ebp - 0x4c]
call fcn.0041ddb0
mov ebx, eax
mov dword [ebp - 4], 5
push edi
lea esi, [ebp - 0x30]
mov dword [ebp - 0x50], 2
call fcn.0041dd80
mov ecx, 6
mov dword [ebp - 4], ecx
push eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], ecx
push eax
mov ecx, ebx
lea edx, [ebp - 0x74]
call fcn.0041dde0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 7
mov ebx, 0xe
mov esi, dword [ebp - 0x5c]
push esi
mov eax, edi
mov dword [ebp - 0x50], ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041e400
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
or ebx, 0x10
mov dword [ebp - 4], 6
test bl, 8
je 0x41dcb3
mov edi, dword [ebp - 0x70]
and ebx, 0xfffffff7
mov dword [ebp - 0x50], ebx
test edi, edi
je 0x41dcb3
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41dcb3
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41dcb3
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test bl, 4
je 0x41dcdf
and ebx, 0xfffffffb
cmp dword [ebp - 0x1c], 0x10
jb 0x41dccd
mov eax, dword [ebp - 0x30]
push eax
call fcn.004410cb
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
test bl, 2
je 0x41dd0b
and ebx, 0xfffffffd
cmp dword [ebp - 0x38], 0x10
jb 0x41dcf9
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004410cb
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 3
test bl, 1
je 0x41dd4d
mov edi, dword [ebp - 0x64]
and ebx, 0xfffffffe
mov dword [ebp - 0x50], ebx
test edi, edi
je 0x41dd4d
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41dd4d
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41dd4d
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x41dd5b
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440ba3
mov esp, ebp
pop ebp
ret 4