Function at 0x10024bd0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a87d0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1021afe8]
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 + 8]
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x60], 0
call fcn.10025e40
mov edi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.10025e80
cmp dword [edi + 0x14], 0x10
mov esi, eax
jb 0x10024c44
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x10024c4c
mov esi, dword [esi]
test esi, esi
je 0x10024c55
cmp byte [esi], 0
jne 0x10024c57
xor esi, esi
test edi, edi
je 0x10024c60
cmp byte [edi], 0
jne 0x10024c62
xor edi, edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x60]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.10020520
mov edi, dword [ebp - 0x68]
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10024ca7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006ae0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10024cce
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10006ae0
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 2
mov al, byte [edi + 4]
test al, al
je 0x10024d01
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov ebx, 1
jmp 0x10024d4c
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.10025e40
mov edi, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
mov dword [ebp - 0x5c], 2
call fcn.10025e80
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x60]
push edi
push eax
mov dword [ebp - 0x5c], 6
call fcn.10025b30
add esp, 8
mov ecx, eax
mov ebx, 0xe
mov edx, dword [ebp - 0x64]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov dword [ecx + 8], 0
or ebx, 0x10
test bl, 8
je 0x10024db0
and ebx, 0xfffffff7
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 6
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x10024db0
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10024db0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10024db0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test bl, 4
je 0x10024ddf
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp eax, 0x10
jb 0x10024dcd
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10006ae0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
test bl, 2
je 0x10024e0e
mov eax, dword [ebp - 0x2c]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x10024dfc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10006ae0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 2
test bl, 1
je 0x10024e4c
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x10024e4c
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10024e4c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10024e4c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test esi, esi
je 0x10024e57
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x64]
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.1016700d
mov esp, ebp
pop ebp
ret 0x10