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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10081a9a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 2
je 0x1005e0a6
xor eax, eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x88], eax
jmp 0x1005f7ea
mov edi, dword [eax + 0x59774]
push eax
mov dword [esp + 0x44], edi
call fcn.1001be00
push ebp
call fcn.10004230
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x597b0]
xor esi, esi
cmp eax, esi
ja 0x1005e101
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [edi + 0xfc], esi
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x44]
mov dword [esp + 0x44], 2
call fcn.100053d0
mov dword [eax], esi
mov dword [ebp + 0x38], esi
jmp 0x1005f7e5
mov eax, ebp
call fcn.10001990
cmp dword [edi + 0xa4], esi
jne 0x1005f7e5
cmp dword [edi + 0xa8], esi
jne 0x1005f7e5
mov ebx, dword [ebp + 0x14]
add ebx, 0x597a8
cmp dword [ebx + 8], esi
jne 0x1005e139
push edi
call fcn.10004080
jmp 0x1005f7e5
mov eax, ebx
call fcn.100052e0
mov esi, eax
mov dword [esp + 0x54], esi
call fcn.1005a620
fld dword [esi + 0xc]
fstp dword [esp + 0x70]
lea eax, [esp + 0x58]
fld dword [esi + 8]
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esi + 0x10]
fstp dword [esp + 0x74]
fld dword [esi + 0x14]
fstp dword [esp + 0x78]
fld dword [edi + 0x24]
fstp dword [esp + 0x5c]
fld dword [edi + 0x20]
fstp dword [esp + 0x58]
fld dword [edi + 0x28]
fstp dword [esp + 0x60]
fld dword [edi + 0x2c]
fstp dword [esp + 0x64]
call fcn.10023f00
fst qword [esp + 0x44]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x1005e262
fld dword [esp + 0x6c]
sub esp, 0x10
fsub dword [esp + 0x68]
fstp qword [esp + 8]
fld dword [esp + 0x80]
fsub dword [esp + 0x6c]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x4c]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x70]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005e208
mov ecx, edi
push ecx
call fcn.10004080
fld dword [esp + 0x3c]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, esi
call fcn.10004d90
test eax, eax
jne 0x1005e262
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1005f7e5
lea eax, [esp + 0x9c]
call fcn.100063f0
mov eax, ebx
mov dword [esp + 0x180], 0
call fcn.10005300
mov edx, dword [ebp + 0x14]
push edx
lea eax, [esp + 0xa0]
call fcn.1001ca30
lea eax, [esp + 0x9c]
call fcn.10006540
jmp 0x1005f7e5
call fcn.10064a60
test eax, eax
mov edi, esi
je 0x1005e294
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x1005e294
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, ebx
call fcn.10005300
call fcn.10065520
test eax, eax
mov edx, 1
je 0x1005e2af
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebp + 0x78], edx
cmp dword [ebp + 0x78], edx
jle 0x1005e2c0
call fcn.1002a700
mov dword [ebp + 0x78], 0
cmp dword [ebp + 0x38], 0
mov esi, dword [esp + 0x40]
jne 0x1005e2ea
fld dword [esi + 0x24]
fstp dword [ebp + 0x28]
fld dword [esi + 0x20]
fstp dword [ebp + 0x24]
fld dword [esi + 0x28]
fstp dword [ebp + 0x2c]
mov dword [ebp + 0x34], 0x211
mov dword [ebp + 0x38], 1
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push ecx
push eax
mov eax, esi
call fcn.100040c0
test eax, eax
je 0x1005e38b
fld qword [0x1008b830]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1005e34f
fld dword [esp + 0x70]
mov dword [ebp + 0x34], 0x211
fld dword [esp + 0x5c]
mov dword [ebp + 0x38], 1
fsubr st(1)
fdiv st(2)
fsubp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x6c]
fld dword [esp + 0x58]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [ebp + 0x24]
fld dword [esp + 0x74]
fstp dword [ebp + 0x2c]
jmp 0x1005e351
fstp st(0)
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 2
call fcn.1004a2f0
cmp eax, 2
jne 0x1005e37d
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, ebx
call fcn.10005300
jmp 0x1005e46d
cmp eax, 1
jne 0x1005e474
jmp 0x1005e46d
fld dword [edi + 0xc]
fstp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
fld dword [edi + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x90]
fstp dword [esp + 0x80]
fld dword [edi + 0x10]
mov edx, dword [esp + 0x80]
fstp dword [esp + 0x88]
mov ecx, dword [esp + 0x88]
fld dword [edi + 0x14]
mov dword [esp + 0x6c], edx
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
fld dword [esi + 0x24]
mov dword [esp + 0x74], ecx
fstp dword [esp + 0x5c]
mov dword [esp + 0x78], edx
fld dword [esi + 0x20]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x58]
fld dword [esi + 0x28]
fstp dword [esp + 0x60]
fld dword [esi + 0x2c]
fstp dword [esp + 0x64]
call fcn.10065c10
test al, al
je 0x1005e41e
lea eax, [esp + 0x58]
lea ecx, [esp + 0x6c]
call fcn.10023f00
jmp 0x1005e44e
fld dword [esp + 0x58]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x6c]
fstp dword [esp + 8]
fld dword [esp + 0x90]
fstp dword [esp + 4]
fld dword [esp + 0x94]
fstp dword [esp]
call fcn.10017880
add esp, 0x10
fst qword [esp + 0x44]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1005f773
push esi
fstp st(0)
call fcn.10004080
mov dword [ebp + 0x38], 0
fld dword [esp + 0x6c]
sub esp, 0x10
fsub dword [esp + 0x68]
fst qword [esp + 0xa4]
fld dword [esp + 0x80]
fsub dword [esp + 0x6c]
fst qword [esp + 0x5c]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x4c]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x70]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005e4e2
push esi
call fcn.10004080
fld dword [esp + 0x3c]
push ecx
fstp dword [esp]
call fcn.10022bd0
fld qword [0x1008b798]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1005e56a
fld dword [esp + 0x70]
lea eax, [ebp + 0x24]
fld qword [esp + 0x4c]
mov ecx, 2
fdiv st(2)
mov edx, 0x211
mov dword [ebp + 0x34], 0x211
mov dword [ebp + 0x38], 1
fsubp st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x94]
fdivrp st(1)
fsubr dword [esp + 0x6c]
fstp dword [eax]
fld dword [esp + 0x74]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1005e55c
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, ebx
call fcn.10005300
mov dword [ebp + 0x38], 0
jmp 0x1005e56c
cmp eax, 1
jne 0x1005e56c
mov dword [ebp + 0x38], 0
jmp 0x1005e56c
fstp st(0)
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x1005e5a1
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
add eax, 0x18
push eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
test eax, eax
je 0x1005e5a1
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
test eax, eax
jle 0x1005e5a1
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x1005e5d6
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
add eax, 0x18
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
test eax, eax
je 0x1005e5d6
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test eax, eax
jle 0x1005e5d6
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1005e5fb
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, esi
call eax
test eax, eax
jle 0x1005e5fb
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, esi
call eax
push 0x1a
call fcn.1004b2a0
test eax, eax
je 0x1005e620
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, esi
call eax
test eax, eax
jle 0x1005e620
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, esi
call eax
fld qword [0x1008b730]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x1005f7e5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x1005f7e5
fld qword [0x1008b7f0]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1005e847
lea ecx, [esp + 0x3c]
fstp st(0)
push ecx
mov ecx, 0x1008b2c0
call fcn.10001a30
lea edx, [esp + 0x3c]
lea edi, [ebp + 0x68]
push edx
mov ecx, edi
mov dword [esp + 0x184], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x1005e713
cmp dword [ebx + 0x14], 0
jne 0x1005e713
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x1005e713
mov eax, dword [esp + 0x54]
call fcn.10004040
cmp eax, 0x64
jne 0x1005e713
mov eax, dword [esp + 0x54]
fld dword [eax + 0x10]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [eax + 8]
fstp dword [esp + 4]
fld dword [eax + 0xc]
mov eax, dword [ebx]
fstp dword [esp]
call fcn.1004e720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x1008b2cc
call fcn.10001a30
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
mov dword [esp + 0x184], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x1005e7ab
cmp dword [ebx + 0x14], 0
jne 0x1005e7ab
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x1005e7ab
mov eax, dword [esp + 0x54]
call fcn.10004040
cmp eax, 0x64
jne 0x1005e7ab
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x1008b2d4
call fcn.10001a30
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
mov dword [esp + 0x184], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005e843
cmp dword [edi + 0x14], 0
jne 0x1005e843
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005e843
mov eax, dword [esp + 0x54]
call fcn.10004040
cmp eax, 0x64
jne 0x1005e843
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edi]
mov edx, dword [edx + 0x14]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
fld qword [esp + 0x44]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1005f76f
fcomp qword [0x1008b7e0]
fnstsw ax
test ah, 5
jp 0x1005e86c
call fcn.1002a700
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x3d0], 0
je 0x1005e92f
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x1008a940
call fcn.10001a30
lea edx, [esp + 0x3c]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0x184], 4
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x1005e92f
mov edi, dword [ebx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005e92f
cmp dword [ebx + 0x14], eax
jne 0x1005e92f
mov eax, ebx
call fcn.1002a6c0
test eax, eax
jne 0x1005e92f
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x1005e92f
mov esi, dword [esp + 0x40]
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x1005e92f
mov ecx, dword [ebx]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, esi
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x3d4], 0
je 0x1005e9f2
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x1008a94c
call fcn.10001a30
lea edx, [esp + 0x3c]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0x184], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x1005e9f2
mov esi, dword [esp + 0x40]
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x1005e9f2
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x1005e9f2
cmp dword [ebx + 0x14], eax
jne 0x1005e9f2
mov eax, ebx
call fcn.1002a6c0
test eax, eax
jne 0x1005e9f2
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x1005e9f2
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0xa
jae 0x1005ea84
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x1008b2e0
call fcn.10001a30
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebp + 0x68]
mov dword [esp + 0x184], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ea84
cmp dword [edi + 0x14], 0
jne 0x1005ea84
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ea84
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x50
jae 0x1005eb10
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x1008b2ec
call fcn.10001a30
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0x184], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005eb10
cmp dword [edi + 0x14], 0
jne 0x1005eb10
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005eb10
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b2f8
call fcn.10001a30
lea ecx, [esp + 0x44]
lea ebx, [ebp + 0x68]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 8
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005ebe6
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x3c
jae 0x1005ebe6
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1005ebe6
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005ebe6
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1005ebe6
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x3c
ja 0x1005ebc6
mov edi, 0x3250
mov eax, ecx
call fcn.1004a950
test eax, eax
je 0x1005ebe6
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edx + 0x14]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea eax, [esp + 0x44]
push eax
mov ecx, str.QR_W
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ec71
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x50
jae 0x1005ec71
cmp dword [edi + 0x14], 0
jne 0x1005ec71
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ec71
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b310
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0xa
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ed10
mov edx, dword [esp + 0x54]
cmp dword [edx + 0x6c], 0
je 0x1005ed10
cmp dword [edi + 0x14], 0
jne 0x1005ed10
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ed10
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005ed10
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax + 0x14]
push edx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x1008b318
call fcn.10001a30
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0xb
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ed97
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x6c], 0
je 0x1005ed97
cmp dword [edi + 0x14], 0
jne 0x1005ed97
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ed97
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b324
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ee14
cmp dword [edi + 0x14], 0
jne 0x1005ee14
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ee14
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b330
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0xd
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ee98
mov eax, edi
call fcn.10059b90
cmp dword [edi + 0x14], 0
jne 0x1005ee98
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005ee98
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b338
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0xe
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005ef40
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1005ef40
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1005ef40
mov esi, dword [esp + 0x40]
mov edi, 0x7dd8
mov eax, esi
call fcn.1004a950
test eax, eax
je 0x1005ef40
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, esi
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b344
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0xf
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005efb2
cmp dword [edi + 0x14], 0
jne 0x1005efb2
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005e827
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b350
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x10
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005f05a
mov esi, dword [esp + 0x54]
call fcn.1005a620
cmp dword [edi + 0x14], 0
jne 0x1005f05a
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005f05a
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005f05a
mov eax, dword [esp + 0x54]
call fcn.10004040
cmp eax, 0x14
jae 0x1005f05a
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005e82b
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b358
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
or edi, 0xffffffff
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f0f0
cmp dword [esi + 0x14], 0
jne 0x1005f0f0
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005f0f0
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f0f0
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x14
ja 0x1005ebca
push 7
mov eax, ebp
call fcn.10004c90
cmp eax, 1
jbe 0x1005f412
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b364
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f192
cmp dword [esi + 0x14], 0
jne 0x1005f192
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f192
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edx, dword [edx]
mov eax, dword [eax + 0x14]
push edx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x1008b370
call fcn.10001a30
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x13
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f206
cmp dword [esi + 0x14], 0
jne 0x1005f206
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
jne 0x1005ebc6
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b37c
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x14
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f27a
cmp dword [esi + 0x14], 0
jne 0x1005f27a
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
jne 0x1005f172
lea ecx, [esp + 0x44]
push ecx
mov ecx, str.jkb_e
call fcn.10001a30
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x15
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f302
cmp dword [esi + 0x14], 0
jne 0x1005f302
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1005f302
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005ebca
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b390
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x16
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f38a
cmp dword [esi + 0x14], 0
jne 0x1005f38a
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f38a
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005ebca
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b398
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x17
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f412
cmp dword [esi + 0x14], 0
jne 0x1005f412
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f412
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005ebca
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b3a0
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x18
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f491
cmp dword [esi + 0x14], 0
jne 0x1005f491
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005f491
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
jne 0x1005f172
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x1008b3ac
call fcn.10001a30
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x19
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f510
cmp dword [esi + 0x14], 0
jne 0x1005f510
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005f510
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
jne 0x1005ebc6
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b3b4
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x1a
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f5a3
cmp dword [esi + 0x14], 0
jne 0x1005f5a3
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005f5a3
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f5a3
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005ebca
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b3bc
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x1b
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], 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 + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f644
cmp dword [esi + 0x14], 0
jne 0x1005f644
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x1005f644
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005f644
mov eax, dword [esp + 0x54]
call fcn.10004040
cmp eax, 0xf
jae 0x1005f644
mov ecx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x19
ja 0x1005ebca
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008b3c8
call fcn.10001a30
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x1c
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov ebx, eax
lea eax, [esp + 0x44]
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test ebx, ebx
je 0x1005f6d1
cmp dword [ebx + 0x14], 0
jne 0x1005f6d1
mov eax, ebx
call fcn.1002a6c0
test eax, eax
jne 0x1005f6d1
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x1005f6d1
mov edx, dword [esp + 0x40]
mov eax, 0xcccccccd
mul dword [edx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1005e9d6
lea ecx, [esp + 0x4c]
push ecx
mov ecx, str.R_e
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
lea ecx, [ebp + 4]
mov dword [esp + 0x184], 0x1d
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x4c]
mov dword [esp + 0x180], edi
call fcn.1001f1f0
test esi, esi
je 0x1005f7e5
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 0x1005f7e5
mov eax, esi
call fcn.1002a6e0
test eax, eax
jne 0x1005f7e5
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [esi]
mov edx, dword [edx + 0x14]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1005f7e5
fstp st(0)
jmp 0x1005f7e5
fld dword [esp + 0x84]
lea eax, [ebp + 0x24]
fld dword [esp + 0x5c]
mov ecx, 1
fsubr st(1)
mov edx, 0x211
mov dword [ebp + 0x34], 0x211
mov dword [ebp + 0x38], ecx
fdiv st(2)
fsubp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x80]
fld dword [esp + 0x58]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [eax]
fld dword [esp + 0x88]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1005f7d9
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, ebx
call fcn.10005300
jmp 0x1005f7de
cmp eax, 1
jne 0x1005f7e5
mov dword [ebp + 0x38], 0
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4