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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00448445
add esp, 0xc
test eax, eax
jne 0x414600
mov eax, dword [ebp + 0xc]
push eax
call fcn.00448882
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0x2733
je 0x414347
cmp dword [ebp - 0xc], 0x2734
je 0x414347
mov eax, 0xfffffff1
jmp 0x414602
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00448869
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.004477a3
add esp, 4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], 0
mov eax, 1
test eax, eax
je 0x4145f3
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0x40
jae 0x4143cc
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x31c], edx
mov eax, dword [ebp - 0x320]
add eax, 1
mov dword [ebp - 0x320], eax
xor ecx, ecx
test ecx, ecx
jne 0x4143a4
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x40
jae 0x41440e
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x218], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
xor edx, edx
test edx, edx
jne 0x4143e6
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.00445d16
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x4144e7
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00445c74
test eax, eax
je 0x4144c7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x414484
mov ecx, 1
test ecx, ecx
je 0x414484
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x32c], eax
jmp 0x41448e
mov dword [ebp - 0x32c], 0xfffffff1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x32c]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
push 0x274d
push 0xa
push 0xfffffffffffffff1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e2a0
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x414602
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00445c74
test eax, eax
je 0x4144e2
xor eax, eax
jmp 0x414602
jmp 0x4145ee
cmp dword [ebp - 0x328], 0
jne 0x414584
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 0x324]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov ecx, dword [edx + 0x1c]
imul ecx, ecx, 0x3cf
cmp eax, ecx
jbe 0x414582
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x414539
xor eax, eax
test eax, eax
je 0x414539
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x330], edx
jmp 0x414543
mov dword [ebp - 0x330], 0xffffffa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x330]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.004fdea4
mov eax, dword [eax]
push eax
push 0x1eb
push 0xffffffffffffffa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e2a0
add esp, 0x1c
mov eax, 0xffffffa0
jmp 0x414602
jmp 0x4145ee
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x4145aa
mov eax, 1
test eax, eax
je 0x4145aa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x334], edx
jmp 0x4145b4
mov dword [ebp - 0x334], 0xfffffff1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x334]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.00445c56
push eax
push 0x2730
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.0040e2a0
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x414602
jmp 0x41438d
cmp dword [ebp - 8], 0xffffffff
jne 0x414600
mov eax, 0xffffffc7
jmp 0x414602
xor eax, eax
mov esp, ebp
pop ebp
ret