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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x5027a8
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50347e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb0]
lea eax, [ebp - 0x34]
mov ecx, 0x50349c
call fcn.004073f0
xor eax, eax
mov dword [ebp - 0x24], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x4a1af4]
call fcn.004a2400
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x426cec]
call fcn.00404fa4
mov dword [ebp - 0x54], eax
mov dl, 1
mov eax, dword [0x426cec]
call fcn.00404fa4
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x5033ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
call fcn.00427dc0
test al, al
jne 0x502926
push 0x50349c
push 1
push 0
push 0
push 0
push 0x3ff00000
push 0
push 0x40000000
push 0
mov ecx, 0x5034c0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00502420
mov dl, 1
mov eax, dword [0x426034]
call fcn.00404fa4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x5034ec
mov eax, dword [ebp - 4]
call fcn.00502200
test al, al
jne 0x5028a8
lea eax, [ebp - 0x24]
call fcn.00424130
mov edx, 0x503530
mov eax, dword [ebp - 4]
call fcn.00503f20
mov byte [ebp - 5], 0
call fcn.00405d98
jmp 0x503406
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.0042b7c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x5028d8
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x34]
mov edx, 0x503568
call fcn.004073f0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00503f20
jmp 0x50291e
xor eax, eax
push ebp
push 0x502917
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.00428400
push 0
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
call fcn.00428750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50291e
lea eax, [ebp - 0x4c]
call fcn.00424130
ret
lea eax, [ebp - 0x24]
call fcn.00424130
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, 0x5035a4
mov edx, 0x5035c0
call fcn.0046db70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
call fcn.0046ce80
mov eax, dword [ebp - 0x34]
push eax
push 0
push 0
push 0x3ff00000
push 0
push 0x3ff00000
push 0
push 0x40000000
push 0
mov ecx, 0x5035dc
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00502420
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.004a34f0
test al, al
je 0x503398
mov edx, 0x503604
mov eax, dword [ebp - 0x14]
call fcn.004a2750
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5029c0
mov edx, 0x503634
mov eax, dword [ebp - 4]
call fcn.00503f70
mov byte [ebp - 5], 0
call fcn.00405d98
jmp 0x503406
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x24]
call fcn.004a47c0
lea eax, [ebp - 0x24]
call fcn.00424130
mov edx, 0x503674
mov eax, dword [ebp - 0x14]
call fcn.004a2750
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x502a0a
mov edx, 0x5036a4
mov eax, dword [ebp - 4]
call fcn.00503f70
mov byte [ebp - 5], 0
call fcn.00405d98
jmp 0x503406
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
call fcn.004a47c0
lea eax, [ebp - 0x24]
call fcn.00424130
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, 0x5036e0
mov edx, 0x5036f4
call fcn.0046d420
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x502b00
push 0x3e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, 0x50370c
mov edx, 0x5036f4
call fcn.0046d420
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.0042c130
cmp eax, dword [ebp - 0x3c]
jle 0x502b00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.0042c130
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x40]
cmp eax, edx
jne 0x502afb
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x3c]
call fcn.0042bf20
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.004072fc
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0043d820
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x68]
call fcn.0043da80
mov eax, dword [ebp - 0x68]
push eax
push 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, 0x503720
mov edx, 0x5036f4
call fcn.0046d5c0
mov edx, dword [ebp - 0x84]
pop eax
call fcn.00407588
je 0x502b00
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.0042c130
dec eax
pop edx
sub eax, edx
jl 0x503381
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x503734
call fcn.004073f0
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.00503f70
push ebp
mov eax, dword [ebp - 0x2c]
call fcn.00502620
pop ecx
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb0]
lea eax, [ebp - 0x28]
call fcn.004073f0
mov eax, dword [ebp - 0x28]
call fcn.00427dc0
test al, al
je 0x503350
lea eax, [ebp - 0xc]
call fcn.00424130
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a1af4]
call fcn.004a2400
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
mov eax, dword [ebp - 0x94]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40140000
push 0
push 0x40590000
push 0
mov edx, dword [ebp - 0x2c]
inc edx
mov ecx, 0x503774
mov eax, dword [ebp - 4]
call fcn.00502420
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004a34f0
mov byte [ebp - 0x2d], al
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00503d80
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x50379c
call fcn.004073f0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.00503f70
cmp byte [ebp - 0x2d], 0
jne 0x502c90
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x144]
lea eax, [ebp - 0xa0]
mov edx, 0x503810
call fcn.004073f0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00503f70
jmp 0x503375
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
xor edx, edx
call fcn.0041d768
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x18]
call fcn.0041cb78
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0xc]
call fcn.004a2800
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.0041cb78
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
call fcn.00407588
je 0x502d6b
push 0x503854
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
push dword [ebp - 0xb8]
push 0x50386c
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc]
call fcn.004a2800
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0041cb78
push dword [ebp - 0xbc]
push 0x5038b4
lea eax, [ebp - 0xb4]
mov edx, 5
call fcn.00407478
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
call fcn.00503f70
jmp 0x503375
lea eax, [ebp - 0x10]
call fcn.00424130
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a1af4]
call fcn.004a2400
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
mov eax, dword [ebp - 0xc4]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x40140000
push 0
push 0x404e0000
push 0
push 0x40590000
push 0
mov edx, dword [ebp - 0x2c]
inc edx
mov ecx, 0x5038c4
mov eax, dword [ebp - 4]
call fcn.00502420
lea ecx, [ebp - 0x50]
mov edx, 0x5038f0
mov eax, dword [ebp - 0x28]
call fcn.0042b6c0
mov cl, 1
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.004a34f0
test al, al
je 0x503305
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004a2f80
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00503d80
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, 0x50390c
call fcn.004073f0
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
call fcn.00503f70
mov eax, dword [ebp - 0x58]
call fcn.0042c130
test eax, eax
jle 0x50306d
mov eax, dword [ebp - 0x58]
call fcn.0042c130
lea edx, [ebp - 0xd4]
call fcn.0041d074
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x503944
call fcn.004073f0
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
call fcn.00503f70
mov dl, 1
mov eax, dword [0x426034]
call fcn.00404fa4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
call fcn.0042c130
dec eax
test eax, eax
jl 0x503065
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0xd8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call fcn.0042bf20
mov eax, dword [ebp - 0xd8]
push eax
push 1
push 0
mov eax, dword [ebp - 0x58]
call fcn.0042c130
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fild dword [ebp - 0x38]
fdivrp st(1)
fmul dword [0x50397c]
fadd dword [0x503980]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x58]
call fcn.0042c130
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0xe0], eax
fild dword [ebp - 0xe0]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x40590000
push 0
mov edx, dword [ebp - 0x2c]
inc edx
mov ecx, 0x503990
mov eax, dword [ebp - 4]
call fcn.00502420
mov eax, dword [ebp - 0x24]
call fcn.00428a60
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call fcn.0042bf20
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
mov eax, dword [0x4a1af4]
call fcn.004a2b10
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
mov ecx, 0
call fcn.00407098
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0xe4]
mov edx, 0x5039c0
call fcn.00406cbc
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00502200
mov byte [ebp - 0x2d], al
cmp byte [ebp - 0x2d], 0
je 0x503024
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x18]
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call fcn.0042bf20
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004a3ad0
push 0x5039f8
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call fcn.0042bf20
push dword [ebp - 0xfc]
push 0x503a14
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.00407478
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 4]
call fcn.00503f70
jmp 0x503059
lea ecx, [ebp - 0x104]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call fcn.0042bf20
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov edx, 0x503a48
call fcn.004073f0
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
call fcn.00503f70
inc dword [ebp - 0x38]
dec dword [ebp - 0x60]
jne 0x502ebf
lea eax, [ebp - 0x24]
call fcn.00424130
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
push 0x40568000
push 0
push 0x40240000
push 0
push 0x40590000
push 0
mov edx, dword [ebp - 0x2c]
inc edx
mov ecx, 0x503aa8
mov eax, dword [ebp - 4]
call fcn.00502420
lea eax, [ebp - 0xc]
call fcn.00424130
lea eax, [ebp - 0x10]
call fcn.00424130
mov edx, 1
mov eax, dword [ebp - 0x50]
call fcn.0042b7c0
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x503204
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x78]
mov edx, 0x40000
mov eax, dword [ebp - 0x20]
call fcn.0043d880
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x1c]
call fcn.0043da80
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
call fcn.0042bf20
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x1c]
call fcn.00407588
sete byte [ebp - 0x2d]
cmp byte [ebp - 0x2d], 0
je 0x503188
push 0x503ae8
lea ecx, [ebp - 0x110]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00503d80
push dword [ebp - 0x110]
push 0x503b5c
push dword [ebp - 0x1c]
push 0x503b78
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x114]
call fcn.0041d09c
push dword [ebp - 0x114]
push 0x503b98
lea eax, [ebp - 0x10c]
mov edx, 7
call fcn.00407478
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00503f70
jmp 0x5031ee
push 0x503ae8
lea ecx, [ebp - 0x11c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00503d80
push dword [ebp - 0x11c]
push 0x503b5c
push dword [ebp - 0x1c]
push 0x503b78
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x120]
call fcn.0041d09c
push dword [ebp - 0x120]
push 0x503bb8
lea eax, [ebp - 0x118]
mov edx, 7
call fcn.00407478
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.00503f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50320b
lea eax, [ebp - 0x20]
call fcn.00424130
ret
push 0x503cb8
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x2c]
call fcn.0042bf20
push dword [ebp - 0x140]
push 0x503cd4
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.00407478
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00503f70
mov byte [ebp - 5], 6
jmp 0x503375
lea eax, [ebp - 0x144]
mov ecx, dword [ebp - 0x28]
mov edx, 0x503d00
call fcn.004073f0
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00503f70
mov byte [ebp - 5], 6
inc dword [ebp - 0x2c]
dec dword [ebp - 0x5c]
jne 0x502b23
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.0042c130
call fcn.00502620
pop ecx
jmp 0x5033a9
mov edx, 0x503d30
mov eax, dword [ebp - 4]
call fcn.00503f20
mov byte [ebp - 5], 6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503406
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov ecx, 0x5035a4
mov edx, 0x5035c0
call fcn.0046db70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
call fcn.0046ce80
lea eax, [ebp - 0x24]
call fcn.00424130
lea eax, [ebp - 0x14]
call fcn.00424130
lea eax, [ebp - 0x54]
call fcn.00424130
lea eax, [ebp - 0x58]
call fcn.00424130
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503485
lea eax, [ebp - 0x144]
mov edx, 0x17
call fcn.0040660c
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.0040663c
lea eax, [ebp - 0xd8]
mov edx, 0x17
call fcn.0040660c
lea eax, [ebp - 0x7c]
call fcn.004065f4
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040660c
lea eax, [ebp - 0x50]
call fcn.004065ac
lea eax, [ebp - 0x34]
call fcn.004065ac
lea eax, [ebp - 0x28]
call fcn.004065ac
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040660c
ret