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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1007fdbc
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 2
je 0x1002cee3
xor eax, eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x80], eax
jmp 0x1002dfab
mov ebx, dword [eax + 0x59774]
push eax
call fcn.1001be00
push ebp
call fcn.10004230
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597b0]
xor esi, esi
cmp ecx, esi
ja 0x1002cf3a
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebx + 0xfc], esi
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x38]
mov dword [esp + 0x38], 2
call fcn.100053d0
mov dword [eax], esi
mov dword [ebp + 0x38], esi
jmp 0x1002dfa6
cmp dword [ebx + 0xa4], esi
jne 0x1002dfa6
cmp dword [ebx + 0xa8], esi
jne 0x1002dfa6
add eax, 0x597a8
cmp dword [eax + 8], esi
mov dword [esp + 0x30], eax
jne 0x1002cf6b
push ebx
call fcn.10004080
jmp 0x1002dfa6
call fcn.100052e0
mov esi, eax
mov dword [esp + 0x34], esi
call fcn.1005a620
fld dword [esi + 0xc]
fstp dword [esp + 0x60]
lea eax, [esp + 0x48]
fld dword [esi + 8]
lea ecx, [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esi + 0x10]
fstp dword [esp + 0x64]
fld dword [esi + 0x14]
fstp dword [esp + 0x68]
fld dword [ebx + 0x24]
fstp dword [esp + 0x4c]
fld dword [ebx + 0x20]
fstp dword [esp + 0x48]
fld dword [ebx + 0x28]
fstp dword [esp + 0x50]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x54]
call fcn.10023f00
fst qword [esp + 0x3c]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x1002d067
fld dword [esp + 0x5c]
sub esp, 0x10
fsub dword [esp + 0x58]
fstp qword [esp + 8]
fld dword [esp + 0x70]
fsub dword [esp + 0x5c]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x48]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1002d033
push ebx
call fcn.10004080
fld dword [esp + 0x38]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, esi
call fcn.10004d90
test eax, eax
jne 0x1002d067
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1002dfa6
mov eax, dword [esp + 0x30]
call fcn.10005300
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
jmp 0x1002dfa6
call fcn.10064a60
test eax, eax
je 0x1002d099
mov eax, esi
call fcn.10003fe0
test eax, eax
jne 0x1002d099
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, esi
call fcn.1001ca30
mov eax, dword [esp + 0x30]
call fcn.10005300
call fcn.10065520
test eax, eax
mov edx, 1
je 0x1002d0b4
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebp + 0x78], edx
cmp dword [ebp + 0x78], edx
jle 0x1002d0c5
call fcn.1002a700
mov dword [ebp + 0x78], 0
cmp dword [ebp + 0x38], 0
mov edi, 0x211
jne 0x1002d0ec
fld dword [ebx + 0x24]
fstp dword [ebp + 0x28]
fld dword [ebx + 0x20]
fstp dword [ebp + 0x24]
fld dword [ebx + 0x28]
fstp dword [ebp + 0x2c]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], 1
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1002d1e6
fld qword [0x1008b798]
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1002d146
fld dword [esp + 0x60]
mov dword [ebp + 0x34], edi
fld dword [esp + 0x4c]
mov dword [ebp + 0x38], 1
fsubr st(1)
fdiv st(2)
fsubp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x5c]
fld dword [esp + 0x48]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [ebp + 0x24]
jmp 0x1002d148
fstp st(0)
fld dword [esp + 0x5c]
sub esp, 0x10
fsub dword [esp + 0x58]
fstp qword [esp + 8]
fld dword [esp + 0x70]
fsub dword [esp + 0x5c]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x48]
add esp, 4
fld dword [0x1008b7e8]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1002d1a6
push ebx
call fcn.10004080
fld dword [esp + 0x38]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 1
mov esi, ebx
call fcn.1004a2f0
cmp eax, 2
jne 0x1002d1d8
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
push edx
call fcn.1001ca30
mov eax, dword [esp + 0x30]
call fcn.10005300
jmp 0x1002d26d
cmp eax, 1
jne 0x1002d274
jmp 0x1002d26d
fld dword [esi + 0xc]
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
fld dword [esi + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0x70]
fld dword [esi + 0x10]
mov eax, dword [esp + 0x70]
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x78]
fld dword [esi + 0x14]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
fld dword [ebx + 0x24]
mov dword [esp + 0x68], eax
fstp dword [esp + 0x4c]
mov dword [esp + 0x6c], ecx
fld dword [ebx + 0x20]
lea eax, [esp + 0x48]
fstp dword [esp + 0x48]
lea ecx, [esp + 0x5c]
fld dword [ebx + 0x28]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x50]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x54]
call fcn.10023f00
fcomp qword [0x1008b798]
fnstsw ax
test ah, 5
jp 0x1002df3f
push ebx
call fcn.10004080
mov dword [ebp + 0x38], 0
fld dword [esp + 0x5c]
sub esp, 0x10
fsub dword [esp + 0x58]
fstp qword [esp + 8]
fld dword [esp + 0x70]
fsub dword [esp + 0x5c]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x48]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1002d2cc
fld dword [esp + 0x38]
push ecx
fstp dword [esp]
call fcn.10022bd0
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1002d2f1
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebx
call eax
test eax, eax
jle 0x1002d2f1
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, ebx
call eax
push 0x1a
call fcn.1004b2a0
test eax, eax
je 0x1002d316
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebx
call eax
test eax, eax
jle 0x1002d316
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
fld qword [0x1008b758]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x1002dfa6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x1002dfa6
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x10089a28
call fcn.10001a30
lea edx, [esp + 0x38]
lea ecx, [ebp + 0x68]
push edx
mov dword [esp + 0xc4], 0
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002d3d4
mov eax, esi
cmp dword [eax + 0x14], 0
jne 0x1002d3d4
mov ecx, esi
mov esi, dword [ecx]
call fcn.10064990
test eax, eax
je 0x1002d3d4
mov esi, dword [esp + 0x30]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1002df28
mov eax, ebx
call fcn.100040a0
cmp eax, 0x3c
jae 0x1002d4dd
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089904
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d464
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d464
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d464
cmp dword [edi + 0x14], eax
jne 0x1002d464
mov eax, dword [edi]
jmp 0x1002df2a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x100899b0
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d4dd
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d4dd
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d4dd
cmp dword [edi + 0x14], eax
je 0x1002d45d
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x428], 0
je 0x1002d5c1
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x10089928
call fcn.10001a30
lea edx, [esp + 0x38]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002d5c1
mov eax, esi
mov edi, dword [eax]
mov eax, dword [esp + 0x34]
call fcn.1005a6a0
test eax, eax
jne 0x1002d5c1
mov ecx, esi
mov esi, dword [ecx]
call fcn.10064990
test eax, eax
je 0x1002d5c1
mov eax, dword [esp + 0x30]
call fcn.1002a6c0
test eax, eax
jne 0x1002d5c1
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x14], eax
jne 0x1002d5c1
mov eax, dword [esp + 0x34]
call fcn.10004040
cmp eax, 0x64
jne 0x1002d5c1
mov eax, dword [esp + 0x34]
mov edi, 0x18fd3
call fcn.1005a6a0
test eax, eax
jne 0x1002d5c1
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1002dfa6
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x10085f40
call fcn.10001a30
lea edx, [esp + 0x38]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 4
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d654
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d654
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d654
cmp dword [edi + 0x14], eax
jne 0x1002d654
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1002dfa6
fld qword [0x1008b798]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x1002dfa6
mov eax, ebx
call fcn.100040a0
cmp eax, 0x50
jae 0x1002d7a0
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008990c
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d6f7
cmp dword [edi + 0x14], 0
jne 0x1002d6f7
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d6f7
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089914
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d7a0
cmp dword [edi + 0x14], 0
jne 0x1002d7a0
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d7a0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d7a0
fld dword [esp + 0x50]
mov eax, dword [edi]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x54]
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
call fcn.1004e720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1002dfa6
mov eax, dword [ebx + 0x40]
cmp eax, 0x23
jae 0x1002d826
lea edx, [esp + 0x38]
push edx
mov ecx, 0x10089a34
call fcn.10001a30
lea eax, [esp + 0x38]
push eax
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d826
cmp dword [edi + 0x14], 0
jne 0x1002d826
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d826
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1002d45d
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x6c], 0
je 0x1002d8b8
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x100899d4
call fcn.10001a30
lea edx, [esp + 0x38]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 8
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d8b8
cmp dword [edi + 0x14], 0
jne 0x1002d8b8
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d8b8
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d8b8
cmp dword [ebx + 0x40], 0xf
ja 0x1002d63a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a40
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002d961
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 1
jne 0x1002d961
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1002d961
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1002d961
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1002d961
mov esi, dword [esp + 0x30]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1002d961
cmp dword [ebx + 0x40], 0x19
ja 0x1002df28
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a4c
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xa
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002d9f0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002d9f0
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002d9f0
cmp dword [ebx + 0x40], 0x19
jbe 0x1002d9f0
cmp dword [edi + 0x14], eax
jne 0x1002d9f0
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jl 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a54
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xb
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002da7f
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002da7f
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002da7f
cmp dword [ebx + 0x40], 0x23
jbe 0x1002da7f
cmp dword [edi + 0x14], eax
jne 0x1002da7f
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jge 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a5c
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002db1c
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002db1c
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002db1c
cmp dword [edi + 0x14], eax
jne 0x1002db1c
cmp dword [ebx + 0x40], 0x1e
jbe 0x1002db1c
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jl 0x1002db1c
mov eax, dword [esp + 0x34]
call fcn.10004040
cmp eax, 0x32
ja 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a64
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xd
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002dbab
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002dbab
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002dbab
cmp dword [ebx + 0x40], 0x19
jbe 0x1002dbab
cmp dword [edi + 0x14], eax
jne 0x1002dbab
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jge 0x1002d45d
push 7
mov eax, ebp
call fcn.10004c90
cmp eax, 1
jle 0x1002ddf3
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089948
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xe
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002dc3b
cmp dword [edi + 0x14], 0
jne 0x1002dc3b
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002dc3b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x100899e0
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xf
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1002dcb9
cmp dword [edi + 0x14], 0
jne 0x1002dcb9
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1002dcb9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x100899f4
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x10
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002dd56
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1002dd56
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1002dd56
mov eax, esi
mov edi, dword [eax]
mov eax, dword [esp + 0x34]
call fcn.1005a6a0
test eax, eax
jne 0x1002dd56
mov edi, esi
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002dd56
cmp dword [ebx + 0x40], 0x32
ja 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, str.jkb
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002ddf3
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1002ddf3
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1002ddf3
mov eax, esi
mov edi, dword [eax]
mov eax, dword [esp + 0x34]
call fcn.1005a6a0
test eax, eax
jne 0x1002ddf3
mov edi, esi
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1002ddf3
cmp dword [ebx + 0x40], 0x2d
ja 0x1002d45d
lea eax, [esp + 0x38]
push eax
mov ecx, 0x10089a0c
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x38], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002dea4
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1002dea4
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1002dea4
cmp dword [ebx + 0x40], 0x23
jbe 0x1002dea4
cmp dword [esi + 0x14], eax
jne 0x1002dea4
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jge 0x1002dea4
mov ecx, dword [esi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1002dfa6
lea eax, [esp + 0x30]
push eax
mov ecx, str.R_e
call fcn.10001a30
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x13
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1002dfa6
mov eax, dword [esi]
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x1002dfa6
mov eax, esi
call fcn.1002a6e0
test eax, eax
jne 0x1002dfa6
mov eax, dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1002dfa6
fld dword [esp + 0x74]
lea eax, [ebp + 0x24]
fld dword [esp + 0x4c]
mov ecx, 1
fsubr st(1)
mov edx, edi
fld qword [esp + 0x3c]
mov esi, ebx
mov dword [ebp + 0x34], edi
fdiv st(1), st(0)
mov dword [ebp + 0x38], ecx
fxch st(2)
fsubrp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x70]
fld dword [esp + 0x48]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [eax]
call fcn.1004a2f0
cmp eax, 2
jne 0x1002df9a
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x38]
call fcn.1001ca30
mov eax, dword [esp + 0x30]
call fcn.10005300
jmp 0x1002df9f
cmp eax, 1
jne 0x1002dfa6
mov dword [ebp + 0x38], 0
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4