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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1008192b
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 0x1005f926
xor eax, eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x88], eax
jmp 0x100611e6
mov edi, dword [eax + 0x59774]
push eax
mov dword [esp + 0x3c], edi
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 0x1005f981
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [edi + 0xfc], esi
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x34]
mov dword [esp + 0x34], 2
call fcn.100053d0
mov dword [eax], esi
mov dword [ebp + 0x38], esi
jmp 0x100611e1
cmp dword [edi + 0xa4], esi
jne 0x100611e1
cmp dword [edi + 0xa8], esi
jne 0x100611e1
cmp dword [eax + 0x597b0], esi
lea ebx, [eax + 0x597a8]
mov dword [esp + 0x3c], ebx
jne 0x1005f9b6
push edi
call fcn.10004080
jmp 0x100611e1
mov eax, ebx
call fcn.100052e0
mov esi, eax
mov dword [esp + 0x40], esi
call fcn.1005a620
fld dword [esi + 0xc]
fstp dword [esp + 0x54]
lea eax, [esp + 0x64]
fld dword [esi + 8]
lea ecx, [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esi + 0x10]
fstp dword [esp + 0x58]
fld dword [esi + 0x14]
fstp dword [esp + 0x5c]
fld dword [edi + 0x24]
fstp dword [esp + 0x68]
fld dword [edi + 0x20]
fstp dword [esp + 0x64]
fld dword [edi + 0x28]
fstp dword [esp + 0x6c]
fld dword [edi + 0x2c]
fstp dword [esp + 0x70]
call fcn.10023f00
fst qword [esp + 0x44]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x1005fadc
fld dword [esp + 0x50]
sub esp, 0x10
fsub dword [esp + 0x74]
fstp qword [esp + 8]
fld dword [esp + 0x64]
fsub dword [esp + 0x78]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x44]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005fa82
mov eax, edi
push eax
call fcn.10004080
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, esi
call fcn.10004d90
test eax, eax
jne 0x1005fadc
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x100611e1
lea eax, [esp + 0x9c]
call fcn.100063f0
mov eax, ebx
mov dword [esp + 0x180], 0
call fcn.10005300
mov ecx, dword [ebp + 0x14]
push ecx
lea eax, [esp + 0xa0]
call fcn.1001ca30
lea eax, [esp + 0x9c]
call fcn.10006540
jmp 0x100611e1
call fcn.10064a60
test eax, eax
mov edi, esi
je 0x1005fb0e
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x1005fb0e
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, ebx
call fcn.10005300
call fcn.10065520
test eax, eax
mov edx, 1
je 0x1005fb29
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebp + 0x78], edx
cmp dword [ebp + 0x78], edx
jle 0x1005fb3a
call fcn.1002a700
mov dword [ebp + 0x78], 0
cmp dword [ebp + 0x38], 0
mov esi, dword [esp + 0x38]
mov ebx, 0x211
jne 0x1005fb65
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], ebx
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 0x1005fbe4
fld qword [0x1008b830]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 5
jp 0x1005fba8
fld dword [esp + 0x54]
mov dword [ebp + 0x34], ebx
fstp dword [ebp + 0x28]
mov dword [ebp + 0x38], 1
fld dword [esp + 0x50]
fstp dword [ebp + 0x24]
fld dword [esp + 0x58]
fstp dword [ebp + 0x2c]
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 2
call fcn.1004a2f0
cmp eax, 2
jne 0x1005fbd6
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x3c]
call fcn.10005300
jmp 0x1005fcba
cmp eax, 1
jne 0x1005fcc1
jmp 0x1005fcba
fld dword [edi + 0xc]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fld dword [edi + 8]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x88]
fstp dword [esp + 0x78]
fld dword [edi + 0x10]
mov ecx, dword [esp + 0x78]
fstp dword [esp + 0x80]
mov eax, dword [esp + 0x80]
fld dword [edi + 0x14]
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
fld dword [esi + 0x24]
mov dword [esp + 0x58], eax
fstp dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
fld dword [esi + 0x20]
mov dword [esp + 0x60], edx
fstp dword [esp + 0x64]
fld dword [esi + 0x28]
fstp dword [esp + 0x6c]
fld dword [esi + 0x2c]
fstp dword [esp + 0x70]
call fcn.10065c10
test al, al
je 0x1005fc6b
lea eax, [esp + 0x64]
lea ecx, [esp + 0x50]
call fcn.10023f00
jmp 0x1005fc9b
fld dword [esp + 0x64]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x78]
fstp dword [esp + 8]
fld dword [esp + 0x88]
fstp dword [esp + 4]
fld dword [esp + 0x8c]
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 0x1006117a
push esi
fstp st(0)
call fcn.10004080
mov dword [ebp + 0x38], 0
fld dword [esp + 0x50]
sub esp, 0x10
fsub dword [esp + 0x74]
fst qword [esp + 0xa4]
fld dword [esp + 0x64]
fsub dword [esp + 0x78]
fst qword [esp + 0x9c]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x44]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005fd2f
push esi
call fcn.10004080
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
call fcn.10022bd0
fld qword [0x1008b830]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1005fdc3
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1005fe43
fld dword [esp + 0x54]
lea eax, [ebp + 0x24]
fld qword [esp + 0x8c]
mov ecx, 2
fdiv st(2)
mov edx, ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], 1
fsubp st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x94]
fdivrp st(1)
fsubr dword [esp + 0x50]
fstp dword [eax]
fld dword [esp + 0x58]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1005fdb3
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x3c]
call fcn.10005300
jmp 0x1005fdb8
cmp eax, 1
jne 0x1005fdbf
mov dword [ebp + 0x38], 0
fld qword [esp + 0x44]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1005fe43
fld dword [esp + 0x54]
lea eax, [ebp + 0x24]
fld qword [esp + 0x8c]
mov ecx, 2
fdiv st(2)
mov edx, ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], 1
fsubp st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x94]
fdivrp st(1)
fsubr dword [esp + 0x50]
fstp dword [eax]
fld dword [esp + 0x58]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1005fe35
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x3c]
call fcn.10005300
mov dword [ebp + 0x38], 0
jmp 0x1005fe45
cmp eax, 1
jne 0x1005fe45
mov dword [ebp + 0x38], 0
jmp 0x1005fe45
fstp st(0)
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x1005fe7a
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 0x1005fe7a
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
test eax, eax
jle 0x1005fe7a
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x1005feaf
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 0x1005feaf
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test eax, eax
jle 0x1005feaf
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1005fed4
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, esi
call eax
test eax, eax
jle 0x1005fed4
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 0x1005fef9
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, esi
call eax
test eax, eax
jle 0x1005fef9
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 0x100611e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x100611e1
fld qword [0x1008b7f0]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10060108
lea ecx, [esp + 0x34]
fstp st(0)
push ecx
mov ecx, 0x1008b2c0
call fcn.10001a30
lea edx, [esp + 0x34]
lea ebx, [ebp + 0x68]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005ffec
cmp dword [edi + 0x14], 0
jne 0x1005ffec
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005ffec
mov eax, dword [esp + 0x40]
call fcn.10004040
cmp eax, 0x64
jne 0x1005ffec
mov eax, dword [esp + 0x40]
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 [edi]
fstp dword [esp]
call fcn.1004e720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x100611e1
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b2cc
call fcn.10001a30
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060084
cmp dword [edi + 0x14], 0
jne 0x10060084
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060084
mov eax, dword [esp + 0x40]
call fcn.10004040
cmp eax, 0x64
jne 0x10060084
mov ecx, dword [esp + 0x38]
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 0x100611e1
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b2d4
call fcn.10001a30
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060104
cmp dword [edi + 0x14], 0
jne 0x10060104
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060104
mov eax, dword [esp + 0x40]
call fcn.10004040
cmp eax, 0x64
je 0x10060068
fld qword [esp + 0x44]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10061176
fcomp qword [0x1008b7e0]
fnstsw ax
test ah, 5
jp 0x1006012d
call fcn.1002a700
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x3d0], 0
je 0x100601f0
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008a940
call fcn.10001a30
lea edx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x100601f0
mov edi, dword [ebx]
mov eax, dword [esp + 0x38]
call fcn.1004a950
test eax, eax
jne 0x100601f0
cmp dword [ebx + 0x14], eax
jne 0x100601f0
mov eax, ebx
call fcn.1002a6c0
test eax, eax
jne 0x100601f0
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x100601f0
mov esi, dword [esp + 0x38]
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x100601f0
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 0x100611e1
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x3d4], 0
je 0x100602b3
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008a94c
call fcn.10001a30
lea edx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test ebx, ebx
je 0x100602b3
mov esi, dword [esp + 0x38]
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x100602b3
mov edi, dword [ebx]
mov eax, esi
call fcn.1004a950
test eax, eax
jne 0x100602b3
cmp dword [ebx + 0x14], eax
jne 0x100602b3
mov eax, ebx
call fcn.1002a6c0
test eax, eax
jne 0x100602b3
mov esi, dword [ebx]
call fcn.10064990
test eax, eax
je 0x100602b3
mov ecx, dword [esp + 0x38]
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 0x100611e1
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0xa
jae 0x10060345
lea edx, [esp + 0x34]
push edx
mov ecx, 0x1008b2e0
call fcn.10001a30
lea eax, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060345
cmp dword [edi + 0x14], 0
jne 0x10060345
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060345
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
mov eax, dword [esp + 0x38]
call fcn.100040a0
cmp eax, 0x50
jae 0x100603d1
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b2ec
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100603d1
cmp dword [edi + 0x14], 0
jne 0x100603d1
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100603d1
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b2f8
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100604a7
mov eax, dword [esp + 0x38]
call fcn.100040a0
cmp eax, 0x3c
jae 0x100604a7
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x100604a7
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x100604a7
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x100604a7
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x3c
ja 0x10060487
mov edi, 0x3250
mov eax, ecx
call fcn.1004a950
test eax, eax
je 0x100604a7
mov ecx, dword [esp + 0x38]
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 0x100611e1
lea eax, [esp + 0x34]
push eax
mov ecx, str.QR_W
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060532
mov eax, dword [esp + 0x38]
call fcn.100040a0
cmp eax, 0x50
jae 0x10060532
cmp dword [edi + 0x14], 0
jne 0x10060532
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060532
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b310
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100605d1
mov edx, dword [esp + 0x40]
cmp dword [edx + 0x6c], 0
je 0x100605d1
cmp dword [edi + 0x14], 0
jne 0x100605d1
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100605d1
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100605d1
mov ecx, dword [esp + 0x38]
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 0x100611e1
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b318
call fcn.10001a30
lea edx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060658
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x6c], 0
je 0x10060658
cmp dword [edi + 0x14], 0
jne 0x10060658
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060658
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b324
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100606d5
cmp dword [edi + 0x14], 0
jne 0x100606d5
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100606d5
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b330
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060759
mov eax, edi
call fcn.10059b90
cmp dword [edi + 0x14], 0
jne 0x10060759
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060759
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b338
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10060801
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10060801
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10060801
mov esi, dword [esp + 0x38]
mov edi, 0x7dd8
mov eax, esi
call fcn.1004a950
test eax, eax
je 0x10060801
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 0x100611e1
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b344
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060873
cmp dword [edi + 0x14], 0
jne 0x10060873
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b350
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1006091b
mov esi, dword [esp + 0x40]
call fcn.1005a620
cmp dword [edi + 0x14], 0
jne 0x1006091b
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1006091b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1006091b
mov eax, dword [esp + 0x40]
call fcn.10004040
cmp eax, 0x14
jae 0x1006091b
mov edx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [edx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b358
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100609ac
cmp dword [edi + 0x14], 0
jne 0x100609ac
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100609ac
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100609ac
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x14
ja 0x100605b9
mov eax, dword [esp + 0x38]
mov edi, 0x333c
call fcn.1004a950
test eax, eax
je 0x10060a3b
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b3e0
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060a3b
cmp dword [edi + 0x14], 0
jne 0x10060a3b
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060a3b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b3e8
call fcn.10001a30
lea edx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060aad
cmp dword [edi + 0x14], 0
jne 0x10060aad
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
push 7
mov eax, ebp
call fcn.10004c90
cmp eax, 1
jbe 0x10060e19
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b364
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x14
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060b31
cmp dword [edi + 0x14], 0
jne 0x10060b31
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b370
call fcn.10001a30
lea edx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060ba3
cmp dword [edi + 0x14], 0
jne 0x10060ba3
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b37c
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x16
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060c15
cmp dword [edi + 0x14], 0
jne 0x10060c15
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b3f0
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x17
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060c87
cmp dword [edi + 0x14], 0
jne 0x10060c87
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, str.jkb_e
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x18
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060d0d
cmp dword [edi + 0x14], 0
jne 0x10060d0d
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060d0d
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1006006c
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b390
call fcn.10001a30
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x19
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060d93
cmp dword [edi + 0x14], 0
jne 0x10060d93
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060d93
mov edx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [edx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b398
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x1a
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060e19
cmp dword [edi + 0x14], 0
jne 0x10060e19
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060e19
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x1006006c
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b3fc
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060e96
cmp dword [edi + 0x14], 0
jne 0x10060e96
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060e96
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b3ac
call fcn.10001a30
lea ecx, [esp + 0x34]
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 + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060f13
cmp dword [edi + 0x14], 0
jne 0x10060f13
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060f13
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10060068
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b3b4
call fcn.10001a30
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x1d
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10060fa4
cmp dword [edi + 0x14], 0
jne 0x10060fa4
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10060fa4
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10060fa4
mov edx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [edx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x100605b5
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008b3bc
call fcn.10001a30
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
mov dword [esp + 0x184], 0x1e
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10061043
cmp dword [edi + 0x14], 0
jne 0x10061043
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10061043
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10061043
mov eax, dword [esp + 0x40]
call fcn.10004040
cmp eax, 0xf
jae 0x10061043
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [ecx + 0x38]
shr edx, 3
cmp edx, 0x19
ja 0x1006006c
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008b3c8
call fcn.10001a30
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x184], 0x1f
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x40], 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 + 0x34]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100610d4
cmp dword [edi + 0x14], 0
jne 0x100610d4
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100610d4
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100610d4
mov edx, dword [esp + 0x38]
mov eax, 0xcccccccd
mul dword [edx + 0x38]
shr edx, 3
cmp edx, 0x1e
ja 0x100605b5
lea ecx, [esp + 0x3c]
push ecx
mov ecx, str.R_e
call fcn.10001a30
lea edx, [esp + 0x3c]
push edx
lea ecx, [ebp + 4]
mov dword [esp + 0x184], 0x20
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 + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100611e1
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 0x100611e1
mov eax, esi
call fcn.1002a6e0
test eax, eax
jne 0x100611e1
mov ecx, dword [esp + 0x38]
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 0x100611e1
fstp st(0)
jmp 0x100611e1
fld dword [esp + 0x7c]
lea eax, [ebp + 0x24]
fld dword [esp + 0x68]
mov ecx, 1
fsubr st(1)
mov edx, ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ecx
fdiv st(2)
fsubp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x78]
fld dword [esp + 0x64]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [eax]
fld dword [esp + 0x80]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x100611d5
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x3c]
call fcn.10005300
jmp 0x100611da
cmp eax, 1
jne 0x100611e1
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