Function at 0x4012a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [ebp - 0xa0], 4
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0x15e0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0x6e
cmp dword [ebp - 0x50], 0xf20c3f30
jne 0x401340
mov dword [ebp - 0x90], 0x1ed1
mov dword [ebp - 0x24], 0x8c89
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
or edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x24], 0x1c2b
je 0x40133e
mov dword [ebp - 8], 0xbb
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
and edx, 0xf97954c9
sub ecx, edx
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
jmp 0x401360
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], 0xff23e65d
mov ecx, dword [ebp - 8]
add ecx, 1
mov eax, dword [ebp - 0x50]
cdq
idiv ecx
imul eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0xb3
mov edx, dword [ebp - 0x10]
or edx, 0x587a
mov eax, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0xf9584b50
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 8]
imul edx, dword [ebp - 0x50]
imul edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x54], 0
jmp 0x4013a7
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x401428
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], 0xe4d8
mov eax, dword [ebp - 0x2c]
and eax, 0x98
mov ecx, dword [ebp - 0x2c]
add ecx, 1
cdq
idiv ecx
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x58], 0
jmp 0x4013e5
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x401423
mov dword [ebp - 0x28], 0xf0
mov dword [ebp - 0x14], 0xc567
mov ecx, dword [ebp - 0x28]
and ecx, 0xf3836152
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
sub edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
and eax, 0x7948
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x28], ecx
jmp 0x4013dc
jmp 0x40139e
mov dword [ebp - 0x14], 0x2588
lea edx, [ebp - 0x14]
mov dword [ebp - 0x9c], edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
and edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x9c]
add edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0xa0]
shl ecx, 4
push ecx
mov edx, dword [0x4096b8]
push edx
imul eax, dword [ebp - 0xa4], 3
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x78], 0xcb17
lea edx, [ebp - 0x78]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xb4], 0x7a11
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
imul ecx, dword [eax]
imul ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x60]
mov dword [0x4156d4], edx
mov dword [ebp - 0x30], 0xe4
mov dword [ebp - 0x38], 0xf1729b03
lea eax, [ebp - 0x38]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x7c], 0xf2606b12
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
add ecx, 1
cdq
idiv ecx
imul eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x30], 0x327a
jl 0x401543
lea edx, [ebp - 0x30]
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
and edx, 0x28
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
sub ecx, edx
mov edx, dword [ebp - 0x30]
sub edx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc0], 0x407248
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x401566
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x564
jae 0x40160a
mov ecx, dword [ebp - 4]
add ecx, 0xba5567
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
imul edx, dword [ebp - 4], 0xfc000
mov dword [ebp - 4], edx
mov eax, dword [0x407244]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 4]
sub ecx, 0xffff000
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
sub eax, 0xfff000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x80]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0xbbaa000
mov dword [ebp - 4], edx
rol dword [ebp - 0xc], 7
mov eax, dword [ebp - 4]
sub eax, 0x55aab
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x80]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0x155aab
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
jmp 0x40155d
mov dword [ebp - 0x34], 0xaa
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
add ecx, 1
cdq
idiv ecx
imul eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4156c0], eax
mov dword [ebp - 0x64], 0
jmp 0x401649
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 1
jge 0x401686
mov dword [ebp - 0x18], 0x19
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x84], 0x54
mov edx, dword [ebp - 0x84]
sub edx, dword [ebp - 0x84]
imul edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
jmp 0x401640
mov dword [0x4156c4], 0x4087e0
mov dword [ebp - 0x68], 0xec63
mov dword [ebp - 0x3c], 0x99
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xc4], 0xcb
mov ecx, dword [ebp - 0xc4]
add ecx, 1
mov eax, dword [ebp - 0x3c]
cdq
idiv ecx
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x3c], edx
mov dword [0x4156c8], 0xed8
mov dword [ebp - 0x44], 0x614b
mov dword [ebp - 0x40], 0xac
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov eax, dword [ebp - 0x44]
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x6c], 0
jmp 0x40170a
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 5
jge 0x401724
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov eax, dword [ebp - 0x40]
cdq
idiv ecx
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
jmp 0x401701
mov edx, dword [0x4087d8]
mov dword [0x4156cc], edx
mov dword [ebp - 0x48], 0xf4
mov dword [ebp - 0x1c], 0xe0
mov eax, dword [ebp - 0x48]
and eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x70], 0
jmp 0x401760
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 1
jge 0x4017b4
mov dword [ebp - 0x88], 0xf112ed61
lea edx, [ebp - 0x88]
mov dword [ebp - 0xc8], edx
lea eax, [ebp - 0x48]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
add edx, dword [eax]
imul edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov eax, dword [ebp - 0x88]
cdq
idiv ecx
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x401757
mov edx, dword [0x4087dc]
mov dword [0x4156d0], edx
mov dword [ebp - 0x8c], 0x2445
mov dword [ebp - 0x74], 0x36ab
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0x8c]
and ecx, 0xf48d580a
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
or eax, dword [ebp - 0x8c]
imul ecx, eax
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xd8], 0x4156c0
push 1
push 0x4156c0
call dword [0x4156d4]
mov dword [ebp - 0x4c], 0x84
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x4c]
imul ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
mov esp, ebp
pop ebp
ret