Function at 0x492a79
Capabilities:
Resolve dns

Disassembly:
push 0x70
mov eax, 0x5361f9
call fcn.00508cd4
mov ebx, ecx
mov dword [ebp - 0x60], ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x492d4b
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x492a9c
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x492d4b
add esi, esi
mov eax, esi
call fcn.00509170
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.0048baa2
mov esi, eax
mov dword [ebp - 0x64], esi
test esi, esi
je 0x492d4b
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x492b93
push edi
lea ecx, [ebp - 0x28]
call fcn.00450db2
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.00495062
mov ecx, eax
call fcn.00492354
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004510e8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [eax], 0
je 0x492b93
and dword [ebp - 0x68], 0
push edi
lea ecx, [ebp - 0x28]
call fcn.00450db2
mov eax, dword [ebp - 0x5c]
mov ecx, ebx
mov dword [ebp - 4], 1
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00495062
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.004925a4
push eax
lea ecx, [eax + 0x10]
push ecx
push ecx
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.004925cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004510e8
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x5c], eax
cmp dword [eax], 0
jne 0x492b2f
mov esi, dword [ebp - 0x64]
push edi
lea ecx, [ebp - 0x28]
call fcn.00450db2
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00495062
push 0
push 1
lea ecx, [ebp - 0x28]
cmp dword [eax + 4], 0
sete bl
or dword [ebp - 4], 0xffffffff
call fcn.004510e8
test bl, bl
je 0x492cc4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.0044ea3a
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00486ff2
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0044ea67
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
sub eax, ebx
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x68], eax
test eax, eax
jle 0x492c8f
and dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], eax
cmp dword [ebx + 0x14], 0x10
jb 0x492c2c
mov eax, dword [ebx]
jmp 0x492c2e
mov eax, ebx
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push edi
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00450db2
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x74], esi
call fcn.00495062
mov esi, eax
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.004925a4
push eax
lea ecx, [eax + 0x10]
push ecx
push ecx
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004925cd
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004510e8
add ebx, 0x18
dec dword [ebp - 0x5c]
jne 0x492c22
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
cmp dword [0x59735c], 0
je 0x492cb6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___query_httpdns__host__s___ip_count__d_.
push 3
push dword [0x59735c]
call fcn.0048161a
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0045401f
jmp 0x492d19
cmp dword [0x59735c], 0
je 0x492d19
push edi
lea ecx, [ebp - 0x40]
call fcn.00450db2
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 6
call fcn.00495062
push dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___query_host__s___ip_count__d_.
push 3
push dword [0x59735c]
call fcn.0048161a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
add esp, 0x18
push 0
push 1
call fcn.004510e8
push edi
lea ecx, [ebp - 0x58]
call fcn.00450db2
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 7
call fcn.00495062
push 0
push 1
lea ecx, [ebp - 0x58]
mov esi, dword [eax + 4]
call fcn.004510e8
test esi, esi
setne al
jmp 0x492d4d
xor al, al
lea esp, [ebp - 0x8c]
call fcn.00508c83
ret 4