Function at 0x42f830
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afe60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x628490]
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 esi, ecx
mov dword [ebp - 4], 0
call fcn.0041ac20
xor bl, bl
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42fa42
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], 0
cmp dword [eax], 0
je 0x42fa44
xor ecx, ecx
mov byte [ebp - 0x25], 1
mov eax, dword [eax + ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp - 0x24], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
movd eax, xmm0
test al, al
jne 0x42f8d9
xor eax, eax
jmp 0x42f8e9
lea eax, [ebp - 0x24]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f8e0
sub eax, edx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404c00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
mov ebx, dword [esi + 4]
cmp eax, ebx
jae 0x42f99b
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
cmp eax, ecx
ja 0x42f99b
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [esi + 8]
jne 0x42f935
push ecx
mov ecx, esi
call fcn.00415160
mov eax, dword [esi]
lea ecx, [edi + edi*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x42fa06
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [edi + 0x14], 0x10
jae 0x42f972
mov eax, dword [edi + 0x10]
inc eax
je 0x42f97c
push eax
push edi
push ebx
call fcn.00570d90
add esp, 0xc
jmp 0x42f97c
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
jmp 0x42fa06
cmp ebx, dword [esi + 8]
jne 0x42f9a8
push ecx
mov ecx, esi
call fcn.00415160
mov edi, dword [esi + 4]
test edi, edi
je 0x42fa06
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp - 0x2c], 0x10
jae 0x42f9dc
mov eax, dword [ebp - 0x30]
inc eax
je 0x42f9e8
push eax
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.00570d90
add esp, 0xc
jmp 0x42f9e8
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
add dword [esi + 4], 0x18
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x10
jb 0x42fa1f
push dword [ebp - 0x40]
call fcn.00448ca8
add esp, 4
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
inc ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + 0xc]
lea ecx, [ebx*4]
cmp dword [eax + ecx], 0
jne 0x42f8a1
mov bl, byte [ebp - 0x25]
jmp 0x42fa44
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x42fa55
push dword [ebp + 8]
call fcn.00448ca8
add esp, 4
mov al, bl
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.00570b94
mov esp, ebp
pop ebp
ret