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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10060222
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x1005fece
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1005feac
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x1005fec9
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.10025597
mov dword [eax], 5
jmp 0x1005fea1
jmp 0x1006021d
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x48], 0x7238
mov dword [ebp - 0x98], 0x1000cb80
cmp dword [ebp - 0x48], 0x7333
jle 0x1005ffd4
and dword [ebp - 0x24], 0
jmp 0x1005ff2f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5a0
jge 0x1005ffd4
and dword [ebp - 0x14], 0
jmp 0x1005ff49
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x15fa
jge 0x1005ffcf
and dword [ebp - 0xc], 0
jmp 0x1005ff5f
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xe9a
jge 0x1005ffca
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf0], eax
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x114]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x114]
call fcn.100252df
jmp 0x1005ff58
jmp 0x1005ff42
jmp 0x1005ff28
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x48], 0x6f4b
jge 0x1005fff2
push dword [ebp - 0x98]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], 0x7504
mov dword [ebp - 0xb0], 0x1000cb94
cmp dword [ebp - 0x58], 0x77e2
jle 0x100600db
and dword [ebp - 0x1c], 0
jmp 0x10060038
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x47d
jge 0x100600db
and dword [ebp - 0x10], 0
jmp 0x10060052
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3087
jge 0x100600d6
and dword [ebp - 0x18], 0
jmp 0x10060068
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7745
jge 0x100600d1
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
lea ecx, [ebp - 0x12c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.100252df
jmp 0x10060061
jmp 0x1006004b
jmp 0x10060031
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x58], 0x732c
jge 0x100600f9
push dword [ebp - 0xb0]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x971867b8
je 0x1006010d
mov dword [ebp - 0x38], 1
jmp 0x10060111
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1006012b
mov eax, 0x7821
test eax, eax
je 0x1006012b
mov dword [ebp - 0x40], 1
jmp 0x1006012f
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jge 0x10060142
mov dword [ebp - 0x50], 1
jmp 0x10060146
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 1
jg 0x10060155
mov dword [ebp - 0x30], 1
jmp 0x10060159
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
je 0x10060174
mov dword [ebp - 0x34], 1
jmp 0x10060178
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
cmp eax, 0xffff
jae 0x10060191
mov dword [ebp - 0x3c], 1
jmp 0x10060195
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
sub ecx, eax
cmp ecx, dword [ebp - 0x3c]
jne 0x100601ae
mov dword [ebp - 0x44], 1
jmp 0x100601b2
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x100601c5
mov dword [ebp - 0x6c], 1
jmp 0x100601c9
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jbe 0x100601e5
mov dword [ebp - 0x4c], 1
jmp 0x100601e9
and dword [ebp - 0x4c], 0
imul eax, dword [ebp - 0x4c], 0xfffe
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0xa98ceef
jne 0x10060209
mov dword [ebp - 0x2c], 1
jmp 0x1006020d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x10060344
lea eax, [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10060250
push 0
push 0
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x10060344
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x5c], 0x6bc3
mov dword [ebp - 0xa4], 0x1000cbd0
cmp dword [ebp - 0x5c], 0x6f40
jle 0x10060308
and dword [ebp - 0x20], 0
jmp 0x10060287
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7698
jge 0x10060308
and dword [ebp - 0x28], 0
jmp 0x1006029d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x74d9
jge 0x10060303
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x144]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x144]
call fcn.100252df
jmp 0x10060296
jmp 0x10060280
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x5c], 0x69fa
jge 0x10060329
push dword [ebp - 0xa4]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10060344
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esp, ebp
pop ebp
ret