Function at 0x4edf60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600f36
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], 0
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], 0
call fcn.004ef950
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004e0a60
mov esi, eax
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x4edfde
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x4edfe6
mov esi, dword [esi]
test esi, esi
je 0x4edfef
cmp byte [esi], 0
jne 0x4edff1
xor esi, esi
test ebx, ebx
je 0x4edffa
cmp byte [ebx], 0
jne 0x4edffc
xor ebx, ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004f3760
mov ebx, dword [ebp - 0x84]
add esp, 8
cmp dword [ebp - 0x14], 0x10
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
jb 0x4ee048
push dword [ebp - 0x28]
call fcn.00470aa0
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4ee06b
push dword [ebp - 0x70]
call fcn.00470aa0
add esp, 4
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x84], esi
mov al, byte [ebx + 4]
mov dword [ebp - 4], 2
test al, al
je 0x4ee0a5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x4ee0f9
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x58]
push eax
call fcn.004ef950
mov edi, eax
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x7c], 2
call fcn.004e0a60
push edi
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x7c], 6
call fcn.004d64b0
mov edi, dword [ebp - 0x74]
add esp, 0x10
mov edx, eax
mov ebx, 0xe
mov dword [edi], 0
mov dword [edi + 4], 0
cmp edi, edx
je 0x4ee11e
mov ecx, dword [edi + 4]
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edx + 4], ecx
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
mov eax, dword [edx + 8]
or ebx, 0x10
mov dword [edi + 8], eax
mov dword [edx + 8], 0
test bl, 8
je 0x4ee16c
mov edx, dword [ebp - 0x8c]
and ebx, 0xfffffff7
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], edx
test edx, edx
je 0x4ee16c
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ee16c
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x74]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
jne 0x4ee16c
mov eax, dword [ecx]
call dword [eax + 4]
test bl, 4
je 0x4ee197
and ebx, 0xfffffffb
cmp dword [ebp - 0x2c], 0x10
jb 0x4ee185
push dword [ebp - 0x40]
call fcn.00470aa0
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
test bl, 2
je 0x4ee1c2
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 0x10
jb 0x4ee1b0
push dword [ebp - 0x58]
call fcn.00470aa0
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 2
test bl, 1
je 0x4ee1fa
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ee1fa
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ee1fa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4ee1fa
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
test esi, esi
je 0x4ee205
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret 0x10