Function at 0x408a64
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x14
call fcn.0044402e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x408acd
push 0xec
push 0x4010bd3
push 6
call fcn.00444022
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x408d1a
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.0044402e
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.KERNEL32.DLL_LocalSize]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x408b52
push 0x15d
push 0x4010bd3
push 6
call fcn.00444022
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
call fcn.00408a2d
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.0044402e
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x408c13
push 0x15d
push 0x4010bd3
push 6
call fcn.00444022
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
call fcn.00408a2d
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0044401c
add esp, 4
pop eax
lea eax, [ebp - 0xc]
push eax
call fcn.00408d70
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
push eax
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x408caa
push 0x18a
push 0x4010bd3
push 6
call fcn.00444022
add esp, 0xc
push 0
push dword [ebp - 0xc]
call fcn.00408d8a
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x408ce6
push 0x1f0
push 0x4010bd3
push 6
call fcn.00444022
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408d05
push eax
mov ebx, eax
call fcn.00401b60
inc eax
push eax
call fcn.0044402e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408d16
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x408d36
push eax
mov ebx, eax
call fcn.00401b60
inc eax
push eax
call fcn.0044402e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408d3b
push eax
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408d50
push ebx
call fcn.0044401c
add esp, 4
pop ebx
call fcn.0044401c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408d69
push ebx
call fcn.0044401c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4