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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0xc]
imul edx, dword [ecx + 0x10]
shl edx, 2
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x11f8]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x126c]
push eax
call fcn.0066e160
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x98], 0xf
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x1234]
sub eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x54]
imul eax, dword [edx + 0x123c]
cdq
mov ecx, 0x3e8
idiv ecx
add eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1238]
add eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x1238], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1238]
cmp eax, dword [ebp - 0x64]
jge 0x42a9d5
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1238]
mov dword [ebp - 0x64], edx
jmp 0x42a9e1
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x1238], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445270
test eax, eax
ja 0x42aa23
lea ecx, [ebp - 0x50]
call fcn.00429850
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.004452b0
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445270
sub eax, 1
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov ecx, dword [ebp - 0x80]
sub ecx, dword [eax + 4]
cmp ecx, 0x2bc
jb 0x42aa78
lea ecx, [ebp - 0x40]
call fcn.00429850
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.004452b0
push 4
lea ecx, [ebp - 0x30]
call fcn.00413f70
lea ecx, [ebp - 0x30]
call fcn.00428b10
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00416630
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
jmp 0x42aab7
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00445a70
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00416660
push eax
lea ecx, [ebp - 0x30]
call fcn.0041fb00
movzx edx, al
test edx, edx
je 0x42ac46
lea ecx, [ebp - 0x30]
call fcn.00445a50
mov ecx, dword [ebp - 0x80]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x1388
jb 0x42ab46
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.004453c0
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445270
test eax, eax
ja 0x42ab41
jmp 0x42ac46
jmp 0x42aaa6
mov eax, 0x1388
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x7d0
jb 0x42ab7a
lea ecx, [ebp - 0x30]
call fcn.00445a50
movss xmm0, dword [0x7444c0]
movss dword [eax + 8], xmm0
jmp 0x42abe5
movss xmm0, dword [0x7444b0]
movss dword [ebp - 0xe4], xmm0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], ecx
cvtsi2sd xmm0, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x744540]
movsd qword [ebp - 0x104], xmm0
cvtsd2ss xmm0, qword [ebp - 0x104]
mulss xmm0, dword [ebp - 0xe4]
lea ecx, [ebp - 0x30]
movss dword [ebp - 0xec], xmm0
call fcn.00445a50
movss xmm0, dword [ebp - 0xec]
movss dword [eax + 8], xmm0
movss xmm0, dword [0x7444c4]
movss dword [ebp - 0xbc], xmm0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
cvtsi2sd xmm0, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x94]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x744540]
movsd qword [ebp - 0xf8], xmm0
cvtsd2ss xmm0, qword [ebp - 0xf8]
mulss xmm0, dword [ebp - 0xbc]
cvttss2si esi, xmm0
lea ecx, [ebp - 0x30]
call fcn.00445a50
mov dword [eax], esi
jmp 0x42aaa6
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov edx, dword [eax]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x122c]
sub ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1230]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x122c]
add edx, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1230]
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xa0], 0
jg 0x42acb6
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa4], 0
jge 0x42acc9
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [edx + 0xc]
jl 0x42ace3
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax + 0x10]
jl 0x42acfd
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xac], eax
push 0x1000
push 0xffffff
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x125c]
push edx
call fcn.0066eb10
add esp, 0xc
mov dword [ebp - 0x2c], 0xffffff
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x125c]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x58], 0
jmp 0x42ad6c
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445270
cmp dword [ebp - 0x58], eax
jae 0x42ae7c
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
movss xmm0, dword [0x7444cc]
subss xmm0, dword [eax + 8]
push ecx
movss dword [esp], xmm0
push 0x999999
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + edx*4 - 0x2c]
push eax
call fcn.00429c30
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [ebp + ecx*4 - 0x28], eax
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jl 0x42ae28
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov ecx, dword [ebp - 0x70]
sub ecx, dword [eax]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov edx, dword [eax]
mov eax, dword [ebp - 0x88]
lea ecx, [eax + edx*4]
push ecx
call fcn.0066eb10
add esp, 0xc
jmp 0x42ae60
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov eax, dword [eax]
sub eax, dword [ebp - 0x70]
shl eax, 2
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + ecx*4 - 0x28]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x88]
lea edx, [ecx + eax*4]
push edx
call fcn.0066eb10
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x1278
call fcn.00445290
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
jmp 0x42ad63
push ecx
movss xmm0, dword [0x7444c8]
movss dword [esp], xmm0
push 0x999999
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + edx*4 - 0x2c]
push eax
call fcn.00429c30
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [ebp + ecx*4 - 0x28], eax
mov edx, dword [ebp - 0x70]
shl edx, 2
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + eax*4 - 0x28]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0066eb10
add esp, 0xc
mov dword [ebp - 0x78], 0
jmp 0x42aed6
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x78]
cmp edx, dword [ecx + 0xc]
jge 0x42af51
mov dword [ebp - 0x74], 0
jmp 0x42aef3
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x74]
cmp edx, dword [ecx + 0x10]
jge 0x42af4c
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x74]
imul ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1258]
cvttsd2si ecx, qword [eax + ecx*8]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x125c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x74]
imul edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x126c]
mov esi, dword [ebp - 0xd0]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
jmp 0x42aeea
jmp 0x42aecd
xor ecx, ecx
jne 0x42a9e1
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x64]
cmp eax, dword [edx + 0x1228]
jl 0x42af6c
jmp 0x42b04a
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1180]
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0x68], 0
jmp 0x42af8d
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x68]
cmp edx, dword [ecx + 0x1178]
jge 0x42b04a
mov dword [ebp - 0x6c], 0
jmp 0x42afb1
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ecx + 0x117c]
jge 0x42b045
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
imul ecx, dword [eax + 0x1178]
add ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0xd4]
cmp dword [edx + ecx*4], 0xffffff
jne 0x42afe4
jmp 0x42afa8
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
imul ecx, dword [eax + 0x1178]
add ecx, dword [ebp - 0x68]
shl ecx, 2
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1180]
add eax, dword [ebp - 0xc4]
push eax
call fcn.00429bb0
add esp, 4
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1224]
add edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x54]
imul edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x54]
add edx, dword [ecx + 0x1220]
add edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x126c]
mov dword [ecx + edx*4], eax
jmp 0x42afa8
jmp 0x42af84
xor edx, edx
jne 0x42af59
cmp dword [ebp - 0x64], 0
jg 0x42b05d
jmp 0x42b2b3
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x122c]
sub ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1230]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x122c]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1230]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x1254], 0
jne 0x42b119
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
imul eax, dword [ecx + 0x10]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00657741
add esp, 4
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 0x1254], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov ecx, dword [edx + 0xc]
imul ecx, dword [eax + 0x10]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x11f8]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1254]
push edx
call fcn.0066e160
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x60], eax
jmp 0x42b12d
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0xe0]
jge 0x42b2ab
cmp dword [ebp - 0x60], 0
jl 0x42b14d
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 0xc]
jl 0x42b14f
jmp 0x42b124
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x5c], edx
jmp 0x42b163
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0xc0]
jge 0x42b2a6
cmp dword [ebp - 0x5c], 0
jl 0x42b183
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
cmp eax, dword [edx + 0x10]
jl 0x42b185
jmp 0x42b15a
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
imul edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1258]
movsd xmm0, qword [ecx + edx*8]
movsd qword [ebp - 0xdc], xmm0
cvttsd2si edx, qword [ebp - 0xdc]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x90]
jge 0x42b2a1
mov edx, dword [ebp - 0x90]
sub edx, 1
cmp dword [ebp - 0x8c], edx
jne 0x42b26f
cvttsd2si eax, qword [ebp - 0xdc]
cvtsi2sd xmm0, eax
movsd xmm1, qword [ebp - 0xdc]
subsd xmm1, xmm0
cvtsd2ss xmm0, xmm1
movss dword [ebp - 0xc8], xmm0
push ecx
movss xmm0, dword [ebp - 0xc8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
imul edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1254]
mov edx, dword [ecx + edx*4]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x126c]
mov ecx, dword [eax + ecx*4]
push ecx
call fcn.00429c30
add esp, 0xc
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov edx, dword [edx + 0x126c]
mov dword [edx + ecx*4], eax
jmp 0x42b2a1
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1254]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
imul esi, dword [edx + 0xc]
add esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov edx, dword [edx + 0x126c]
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
jmp 0x42b15a
jmp 0x42b124
xor ecx, ecx
jne 0x42b052
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret