Function at 0x403240
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x250]
xor ebx, ebx
push 1
push ebx
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x250]
push edi
lea ecx, [esp + 0x14c]
push eax
push ecx
call fcn.00402910
add esp, 0x18
push 0x100001
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x34], esi
je 0x403502
call fcn.004025d0
mov eax, dword [esp + 0x248]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004028d0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x24c]
mov edx, dword [esp + 0x254]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push str._d._d._s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
push 8
lea ecx, [esp + 0x4c]
push 0x10
push ecx
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
jne 0x403470
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403470
mov ebp, eax
mov edx, dword [ebp + 4]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x40344b
cmp word [ebp + 8], 0x10
jne 0x40344b
cmp dword [ebp + 0x18], 1
jne 0x40344b
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
call section..text
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403456
mov eax, dword [esp + 0x10]
cmp eax, 0xdc
jg 0x403456
test eax, eax
jle 0x403456
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4033c8
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x248]
push eax
push edi
lea edx, [esp + 0x148]
push ecx
push edx
call fcn.00402a10
mov eax, dword [esp + 0x24]
add esp, 0x14
add eax, 0xfffffffc
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x140]
push esi
push eax
call fcn.00402670
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffc
push ecx
push esi
call fcn.00402590
mov ecx, dword [ebx]
add esp, 0x14
cmp ecx, eax
jne 0x403456
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
push ebx
push 0
lea ecx, [edx - 4]
mov dword [esp + 0x40], 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
cmp eax, 0xa5
jge 0x403438
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x250]
lea edx, [ecx + eax - 4]
mov dword [esp + 0x18], edx
mov ebp, dword [ebp]
test ebp, ebp
jne 0x403338
mov eax, dword [esp + 0x1c]
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jne 0x40348e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0xa
mov dword [esp + 0x28], eax
jge 0x403502
jmp 0x403309
cmp dword [esp + 0x30], ebx
jne 0x4034bd
mov ecx, dword [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc ecx
add eax, 0xa1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jmp 0x4032d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x403502
mov ecx, esi
mov esi, dword [esp + 0x34]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov edx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x258]
mov dword [ecx], edx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x40351e
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x403536
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
add esp, 0x230
ret