Function at 0x7c4688
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x7c4690
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7c60cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x7c60e4
call fcn.007c3098
mov eax, dword [ebp - 4]
mov byte [eax + 0x3e4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x3e5], 0
mov eax, dword [ebp - 4]
call fcn.007c4168
mov edx, dword [ebp - 4]
mov dword [edx + 0x3e8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea edx, [ebp - 0x138]
mov eax, 0x290
call fcn.0062e7cc
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.00473dcc
mov eax, 0x7c60f4
call fcn.007c3098
xor eax, eax
push ebp
push 0x7c4763
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00648c88
call fcn.00648ed8
mov eax, dword [ebp - 4]
mov byte [eax + 0x498], 1
call fcn.00649320
mov edx, dword [ebp - 4]
mov dword [edx + 0x49c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c4777
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.0040a78c
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x13c]
mov edx, 0x7c6108
call fcn.00405598
mov eax, dword [ebp - 0x13c]
call fcn.007c3098
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + edx*8 + 0x3f8], 0xffffffff
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + edx*8 + 0x3fc], 0xffffffff
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0xa
jne 0x7c47b1
xor eax, eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 4]
add eax, 0x448
xor ecx, ecx
mov edx, 0x50
call fcn.00403464
xor eax, eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov word [ebp - 0x128], ax
xor eax, eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0x9c3c0000
mov word [ebp - 0x108], 0x400c
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov word [ebp - 0x118], ax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a0], 1
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x34]
call fcn.0040a78c
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x144]
mov edx, 0x7c611c
call fcn.00405598
mov eax, dword [ebp - 0x144]
call fcn.007c3098
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
mov dl, 1
call fcn.005f1b84
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 6
jne 0x7c4867
mov eax, 0x7c6134
call fcn.007c3098
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.005fe7e8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
call fcn.005fce84
test al, al
je 0x7c48ea
mov dword [ebp - 0x78], 0xf4240
mov dword [ebp - 0x74], 0
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea eax, [ebp - 0x150]
call fcn.0040a878
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov edx, 0x7c614c
call fcn.00405598
mov eax, dword [ebp - 0x14c]
call fcn.007c3098
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 0xec]
call fcn.0040a78c
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 0x7c615c
call fcn.00405598
mov eax, dword [ebp - 0x154]
call fcn.007c3098
cmp dword [ebp - 0xec], 0x200
jle 0x7c498b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.005eae10
test al, al
jne 0x7c498b
mov dword [0x891c90], 8
push 0
push 8
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
call fcn.004062e8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea eax, [ebp - 0x160]
call fcn.0040a878
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 0x7c6170
call fcn.00405598
mov eax, dword [ebp - 0x15c]
call fcn.007c3098
lea edx, [ebp - 0x168]
mov eax, dword [0x891c90]
call fcn.0040a78c
mov ecx, dword [ebp - 0x168]
lea eax, [ebp - 0x164]
mov edx, 0x7c6180
call fcn.00405598
mov eax, dword [ebp - 0x164]
call fcn.007c3098
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x14], 0x1869f
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], ax
push ebp
call fcn.007c4568
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.005ff41c
mov dword [ebp - 8], eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x16c]
mov edx, 0x7c6190
call fcn.00405598
mov eax, dword [ebp - 0x16c]
call fcn.007c3098
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0xee6b27fc
mov word [ebp - 0xb0], 0x401c
xor eax, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xc0], ax
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], ax
call fcn.0040d398
mov eax, dword [ebp - 4]
fstp qword [eax + 0x3f0]
wait
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x7c4d39
call fcn.0040d398
fstp qword [ebp - 0x50]
wait
push 0
push 8
push 0
push 8
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
call fcn.0040630c
push edx
push eax
call fcn.004c50a0
call fcn.004062e8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x178]
call fcn.0040a878
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x174]
mov edx, 0x7c61a0
call fcn.00405598
mov eax, dword [ebp - 0x174]
call fcn.007c3098
cmp byte [0x891c70], 0
je 0x7c4b7a
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0x1fff
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x7c]
push eax
push 5
push 0
push 0
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.005ead00
push eax
mov ecx, 0x1437b34
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3ec]
mov edx, dword [0x891c90]
call fcn.0060faf4
mov dword [ebp - 0x34], eax
cmp byte [0x891c70], 0
je 0x7c4bff
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push dword [0x891c78]
push dword [0x891c74]
push 0
push 0xf4240
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x58]
sbb edx, dword [ebp - 0x54]
call fcn.004062e8
call fcn.0040630c
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x7c4c28
push 0
push 0x3e8
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0049b738
call fcn.004062e8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x34]
call fcn.0040a78c
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
mov edx, 0x7c61b0
call fcn.00405598
mov eax, dword [ebp - 0x17c]
call fcn.007c3098
cmp dword [ebp - 0x34], 0
jne 0x7c4ce5
add dword [ebp - 0xa0], 1
adc dword [ebp - 0x9c], 0
fild qword [ebp - 0x68]
fld xword [ebp - 0xb8]
fcompp
fnstsw ax
sahf
jbe 0x7c4c89
fild qword [ebp - 0x68]
fstp xword [ebp - 0xb8]
wait
fild qword [ebp - 0x68]
fld xword [ebp - 0xc8]
fcompp
fnstsw ax
sahf
jae 0x7c4ca3
fild qword [ebp - 0x68]
fstp xword [ebp - 0xc8]
wait
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
fild qword [ebp - 0x188]
fld xword [ebp - 0xe8]
fmulp st(1)
fild qword [ebp - 0x68]
faddp st(1)
fild qword [ebp - 0xa0]
fdivp st(1)
fstp xword [ebp - 0xe8]
wait
jmp 0x7c4cf3
add dword [ebp - 0xa8], 1
adc dword [ebp - 0xa4], 0
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b738
cmp edx, 0
jne 0x7c4d21
cmp eax, 0x1f4
jbe 0x7c4d39
jmp 0x7c4d23
jle 0x7c4d39
cmp dword [ebp - 0x9c], 0
jne 0x7c4d37
cmp dword [ebp - 0xa0], 0x1e
jbe 0x7c4d39
jmp 0x7c4d67
jg 0x7c4d67
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
add eax, dword [ebp - 0xa8]
adc edx, dword [ebp - 0xa4]
cmp edx, 0
jne 0x7c4d61
cmp eax, 0x64
jb 0x7c4b08
jmp 0x7c4d67
jl 0x7c4b08
cmp dword [ebp - 0xa4], 0
jne 0x7c4d7f
cmp dword [ebp - 0xa8], 0x64
jb 0x7c4e54
jmp 0x7c4d85
jl 0x7c4e54
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a0], 0
push 0x10
lea edx, [ebp - 0x18c]
mov eax, 1
call fcn.0062e7cc
mov eax, dword [ebp - 0x18c]
call fcn.0040574c
push eax
lea edx, [ebp - 0x194]
mov eax, 0x29c
call fcn.0062e7cc
push dword [ebp - 0x194]
push 0x7c61c0
push 0x7c61cc
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x34]
call fcn.0040a78c
push dword [ebp - 0x198]
push 0x7c61d8
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0x19c]
call fcn.0040a878
push dword [ebp - 0x19c]
push 0x7c61d8
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea eax, [ebp - 0x1a0]
call fcn.0040a878
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x190]
mov edx, 8
call fcn.0040560c
mov eax, dword [ebp - 0x190]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
call fcn.0047a720
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x7c5f3e
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
fld xword [ebp - 0xe8]
fcomp dword [0x7c61dc]
fnstsw ax
sahf
jbe 0x7c4e86
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 1
jle 0x7c4a96
mov eax, 0x7c61e8
call fcn.007c3098
call fcn.0040d398
mov eax, dword [ebp - 4]
fstp qword [eax + 0x3f0]
wait
mov eax, dword [ebp - 4]
call fcn.007c3398
fld xword [ebp - 0xe8]
fdiv dword [0x7c61f4]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.007c3ddc
fild dword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.007c3ddc
mov eax, 0x7c6200
call fcn.007c3098
fld xword [ebp - 0xe8]
fdiv dword [0x7c61f4]
add esp, 0xfffffff4
fstp xword [esp]
wait
fild dword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [ebp - 4]
call fcn.007c4010
mov eax, 0x7c6210
call fcn.007c3098
mov eax, dword [ebp - 4]
call fcn.007c387c
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0xee6b27fc
mov word [ebp - 0xb0], 0x401c
xor eax, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xc0], ax
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], ax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, 0x7c6220
call fcn.007c3098
jmp 0x7c5f2e
call fcn.0040d398
fstp qword [ebp - 0x50]
wait
push 0
push 8
push 0
push 8
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
call fcn.0040630c
push edx
push eax
call fcn.004c50a0
call fcn.004062e8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
xor eax, eax
mov dword [ebp - 0x80], eax
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c4ffa
cmp eax, 5
jae 0x7c502e
jmp 0x7c4ffc
jge 0x7c502e
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x1a8]
call fcn.0040a878
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
mov edx, 0x7c61a0
call fcn.00405598
mov eax, dword [ebp - 0x1a4]
call fcn.007c3098
cmp byte [0x891c70], 0
je 0x7c5040
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0x1fff
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea eax, [ebp - 0x7c]
push eax
push 5
push 0
push 0
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.005ead00
push eax
mov ecx, 0x1437b34
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3ec]
mov edx, dword [0x891c90]
call fcn.0060faf4
mov dword [ebp - 0x34], eax
cmp byte [0x891c70], 0
je 0x7c50c5
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push dword [0x891c78]
push dword [0x891c74]
push 0
push 0xf4240
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x58]
sbb edx, dword [ebp - 0x54]
call fcn.004062e8
call fcn.0040630c
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x7c50ee
push 0
push 0x3e8
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0049b738
call fcn.004062e8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c511a
cmp eax, 5
jae 0x7c514b
jmp 0x7c511c
jge 0x7c514b
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x34]
call fcn.0040a78c
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1ac]
mov edx, 0x7c6230
call fcn.00405598
mov eax, dword [ebp - 0x1ac]
call fcn.007c3098
cmp dword [ebp - 0x34], 0
jne 0x7c51af
add dword [ebp - 0x98], 1
adc dword [ebp - 0x94], 0
add dword [ebp - 0x90], 1
adc dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
fild qword [ebp - 0x188]
fld xword [ebp - 0xd8]
fmulp st(1)
fild qword [ebp - 0x68]
faddp st(1)
fild qword [ebp - 0x98]
fdivp st(1)
fstp xword [ebp - 0xd8]
wait
jmp 0x7c51f5
cmp dword [ebp - 0x34], 0xfffffffe
je 0x7c51c1
cmp dword [ebp - 0x34], 0x1b
jne 0x7c51de
cmp dword [ebp - 0x80], 0xa
jge 0x7c51de
inc dword [ebp - 0x80]
push 0
push 2
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
call fcn.0040630c
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
jmp 0x7c4fce
add dword [ebp - 0xa8], 1
adc dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xf0], eax
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
je 0x7c5ee8
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c5250
cmp eax, 5
jae 0x7c525c
jmp 0x7c5252
jge 0x7c525c
mov eax, 0x7c6240
call fcn.007c3098
mov eax, dword [ebp - 4]
cmp byte [eax + 0x498], 0
je 0x7c528f
xor eax, eax
push ebp
push 0x7c5285
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00648ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c528f
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c52bb
cmp eax, 5
jae 0x7c530a
jmp 0x7c52bd
jge 0x7c530a
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6250
call fcn.0040bf48
mov ecx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
mov edx, 0x7c6260
call fcn.00405598
mov eax, dword [ebp - 0x1b4]
call fcn.007c3098
fild dword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
fld xword [ebp - 0xd8]
fdiv dword [0x7c61f4]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.007c36fc
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c5360
cmp eax, 5
jae 0x7c5391
jmp 0x7c5362
jge 0x7c5391
lea edx, [ebp - 0x1c0]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1bc]
mov edx, 0x7c6190
call fcn.00405598
mov eax, dword [ebp - 0x1bc]
call fcn.007c3098
fild dword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
fild dword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.007c36fc
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
add dword [ebp - 0xa0], 1
adc dword [ebp - 0x9c], 0
fld xword [ebp - 0xd8]
fld xword [ebp - 0xb8]
fcompp
fnstsw ax
sahf
jbe 0x7c5422
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb4], eax
mov ax, word [ebp - 0xd0]
mov word [ebp - 0xb0], ax
fld xword [ebp - 0xd8]
fld xword [ebp - 0xc8]
fcompp
fnstsw ax
sahf
jae 0x7c545b
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
mov ax, word [ebp - 0xd0]
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
fild qword [ebp - 0x188]
fld xword [ebp - 0xe8]
fmulp st(1)
fld xword [ebp - 0xd8]
faddp st(1)
fild qword [ebp - 0xa0]
fdivp st(1)
fstp xword [ebp - 0xe8]
wait
lea eax, [ebp - 0x1c4]
push eax
fld xword [ebp - 0xd8]
fdiv dword [0x7c61f4]
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x1c4]
mov edx, 0x7c6280
call fcn.00405554
mov edx, dword [ebp - 0x1c4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00473dcc
lea eax, [ebp - 0x1d4]
push eax
fld xword [ebp - 0xb8]
fdiv dword [0x7c61f4]
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x1d4]
mov edx, 0x7c6280
call fcn.00405554
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00473dcc
lea eax, [ebp - 0x1d8]
push eax
fld xword [ebp - 0xe8]
fdiv dword [0x7c61f4]
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x1d8]
mov edx, 0x7c6280
call fcn.00405554
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00473dcc
lea eax, [ebp - 0x1dc]
push eax
fld xword [ebp - 0xc8]
fdiv dword [0x7c61f4]
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x1dc]
mov edx, 0x7c6280
call fcn.00405554
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.00473dcc
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xd0], ax
cmp dword [ebp - 8], 0
jle 0x7c589b
lea eax, [ebp - 0x1e4]
push eax
fild dword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0063a0f0
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c628c
call fcn.0040bf48
push dword [ebp - 0x1e4]
push 0x7c61d8
lea eax, [ebp - 0x1ec]
call fcn.0063a034
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.0082c90c
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.0040560c
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.00473dcc
lea eax, [ebp - 0x1f4]
push eax
fild dword [ebp - 0x14]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0063a0f0
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c628c
call fcn.0040bf48
push dword [ebp - 0x1f4]
push 0x7c61d8
lea eax, [ebp - 0x1fc]
call fcn.0063a034
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.0082c90c
push dword [ebp - 0x1f8]
lea eax, [ebp - 0x1f0]
mov edx, 3
call fcn.0040560c
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.00473dcc
lea eax, [ebp - 0x204]
push eax
fild dword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0063a0f0
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c628c
call fcn.0040bf48
push dword [ebp - 0x204]
push 0x7c61d8
lea eax, [ebp - 0x20c]
call fcn.0063a034
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.0082c90c
push dword [ebp - 0x208]
lea eax, [ebp - 0x200]
mov edx, 3
call fcn.0040560c
mov edx, dword [ebp - 0x200]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
call fcn.00473dcc
lea eax, [ebp - 0x214]
push eax
mov ax, word [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0063a0f0
fstp xword [ebp - 0x1d0]
wait
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
push dword [ebp - 0x214]
push 0x7c61d8
lea eax, [ebp - 0x21c]
call fcn.0063a034
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.0082c90c
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.0040560c
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00473dcc
jmp 0x7c59b3
lea eax, [ebp - 0x228]
call fcn.0063a034
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0082c90c
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
mov edx, 0x7c629c
call fcn.00405598
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.00473dcc
lea eax, [ebp - 0x234]
call fcn.0063a034
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0082c90c
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x22c]
mov edx, 0x7c629c
call fcn.00405598
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.00473dcc
lea eax, [ebp - 0x240]
call fcn.0063a034
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0082c90c
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
mov edx, 0x7c629c
call fcn.00405598
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
call fcn.00473dcc
lea eax, [ebp - 0x24c]
call fcn.0063a034
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0082c90c
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x244]
mov edx, 0x7c629c
call fcn.00405598
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00473dcc
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c59df
cmp eax, 5
jae 0x7c59eb
jmp 0x7c59e1
jge 0x7c59eb
mov eax, 0x7c62a8
call fcn.007c3098
xor eax, eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov word [ebp - 0xf8], ax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x498], 0
je 0x7c5c6b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x49c], 0
jle 0x7c5c6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
dec eax
test eax, eax
jl 0x7c5a6d
inc eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
call fcn.00648d60
fmul dword [0x7c62ac]
fld xword [ebp - 0x100]
faddp st(1)
fstp xword [ebp - 0x100]
wait
inc dword [ebp - 0x84]
dec dword [ebp - 0x134]
jne 0x7c5a3f
mov eax, dword [ebp - 4]
fild dword [eax + 0x49c]
fld xword [ebp - 0x100]
fdivrp st(1)
fstp xword [ebp - 0x100]
wait
fld xword [ebp - 0x100]
fld xword [ebp - 0x110]
fcompp
fnstsw ax
sahf
jbe 0x7c5abe
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], eax
mov ax, word [ebp - 0xf8]
mov word [ebp - 0x108], ax
fld xword [ebp - 0x100]
fld xword [ebp - 0x120]
fcompp
fnstsw ax
sahf
jae 0x7c5af7
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x11c], eax
mov ax, word [ebp - 0xf8]
mov word [ebp - 0x118], ax
cmp dword [ebp - 0x38], 0
jle 0x7c5b29
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x250], eax
fild dword [ebp - 0x250]
fld xword [ebp - 0x130]
fmulp st(1)
fld xword [ebp - 0x100]
faddp st(1)
fild dword [ebp - 0x38]
fdivp st(1)
fstp xword [ebp - 0x130]
wait
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x254]
mov edx, 0x7c62b8
call fcn.00405554
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
call fcn.00473dcc
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x258]
mov edx, 0x7c62b8
call fcn.00405554
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.00473dcc
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x25c]
mov edx, 0x7c62b8
call fcn.00405554
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.00473dcc
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 3
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x7c6270
call fcn.0040bf48
lea eax, [ebp - 0x260]
mov edx, 0x7c62b8
call fcn.00405554
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00473dcc
jmp 0x7c5cb7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov edx, 0x7c62c4
call fcn.00473dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, 0x7c62c4
call fcn.00473dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
mov edx, 0x7c62c4
call fcn.00473dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov edx, 0x7c62c4
call fcn.00473dcc
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c5ce3
cmp eax, 5
jae 0x7c5d1d
jmp 0x7c5ce5
jge 0x7c5d1d
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea eax, [ebp - 0x268]
call fcn.0040a878
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 0x264]
mov edx, 0x7c62d0
call fcn.00405598
mov eax, dword [ebp - 0x264]
call fcn.007c3098
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea eax, [ebp - 0x26c]
call fcn.0040a878
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
call fcn.00473dcc
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0x270]
call fcn.0040a878
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.00473dcc
cmp dword [ebp - 0xa4], 0
jne 0x7c5d87
cmp dword [ebp - 0xa8], 0
jbe 0x7c5de8
jmp 0x7c5d89
jle 0x7c5de8
lea edx, [ebp - 0x278]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.00473d9c
push dword [ebp - 0x278]
push 0x7c62e4
lea edx, [ebp - 0x27c]
mov eax, dword [ebp - 0xf0]
call fcn.0040a78c
push dword [ebp - 0x27c]
push 0x7c62f0
lea eax, [ebp - 0x274]
mov edx, 4
call fcn.0040560c
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.00473dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
cmp eax, dword [ebp - 0x38]
jg 0x7c5e00
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a0], 0
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 0x38]
call fcn.007c3268
mov edx, dword [ebp - 0x280]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.00473dcc
cmp dword [ebp - 0x3c], 0xffffffff
jle 0x7c5e4a
lea edx, [ebp - 0x284]
mov eax, dword [ebp - 0x3c]
call fcn.007c3268
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.00473dcc
mov eax, dword [ebp - 0x38]
mov ecx, 0x1e
cdq
idiv ecx
test edx, edx
jne 0x7c5e99
mov eax, 0x7c62fc
call fcn.007c3098
push ebp
call fcn.007c4568
pop ecx
lea edx, [ebp - 0x28c]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov edx, 0x7c6190
call fcn.00405598
mov eax, dword [ebp - 0x288]
call fcn.007c3098
mov eax, dword [ebp - 0x38]
mov ecx, 0x32
cdq
idiv ecx
test edx, edx
jne 0x7c5eb0
mov eax, dword [ebp - 4]
call fcn.007c3338
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
push dword [eax + 0x3f4]
push dword [eax + 0x3f0]
call fcn.0049b708
cmp edx, 0
jne 0x7c5edc
cmp eax, 5
jae 0x7c5ee8
jmp 0x7c5ede
jge 0x7c5ee8
mov eax, 0x7c6310
call fcn.007c3098
call fcn.0040d398
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0049b738
cmp edx, 0
jne 0x7c5f0b
cmp eax, 0x64
jbe 0x7c5f2e
jmp 0x7c5f0d
jle 0x7c5f2e
call fcn.0040d398
fstp qword [ebp - 0x48]
wait
mov eax, dword [0x892f24]
mov eax, dword [eax]
call fcn.0049463c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4a0], 0
je 0x7c5f3e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4a0], 0
jne 0x7c4f9b
mov eax, 0x7c631c
call fcn.007c3098
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
call fcn.007c4418
mov eax, dword [ebp - 4]
call fcn.007c7c8c
mov eax, 0x7c632c
call fcn.007c3098
lea edx, [ebp - 0x290]
mov eax, 0x28f
call fcn.0062e7cc
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.00473dcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
push ebp
push 0x7c5fe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x892de4]
mov eax, dword [eax]
mov eax, dword [eax + 0x59c]
xor edx, edx
call fcn.0043db50
mov eax, dword [0x892de4]
mov eax, dword [eax]
call fcn.007ba428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c5ff1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3e5], 0
jne 0x7c6041
mov eax, dword [0x892a38]
cmp byte [eax], 0
je 0x7c6011
mov eax, dword [0x89249c]
cmp byte [eax], 0
jne 0x7c6041
push 1
call fcn.0040d398
call fcn.00402d84
push edx
push eax
lea eax, [ebp - 0x294]
call fcn.0040a878
mov ecx, dword [ebp - 0x294]
mov eax, dword [0x892514]
mov eax, dword [eax]
mov edx, 0x7c633c
call fcn.004bf924
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3e4], 0
je 0x7c6055
mov eax, dword [ebp - 4]
call fcn.00490e88
mov eax, 0x7c6354
call fcn.007c3098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c60d4
lea eax, [ebp - 0x294]
mov edx, 7
call fcn.004052b0
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0x270]
mov edx, 8
call fcn.004052b0
lea eax, [ebp - 0x24c]
mov edx, 0x1f
call fcn.004052b0
lea eax, [ebp - 0x1c4]
mov edx, 0xf
call fcn.004052b0
lea eax, [ebp - 0x180]
mov edx, 0x13
call fcn.004052b0
ret