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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1007f913
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
jne 0x1003bf25
mov ebx, dword [eax + 0x59774]
xor edi, edi
cmp ebx, edi
je 0x1003bf25
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, ebp
call fcn.10001990
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x597e0]
cmp eax, 4
jne 0x1003ac3f
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1001be00
push ebp
call fcn.10004230
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x597b0], edi
ja 0x1003ac8f
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebx + 0xfc], edi
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x38]
mov dword [esp + 0x38], 2
call fcn.100053d0
mov dword [eax], edi
mov dword [ebp + 0x38], edi
jmp 0x1003bf91
cmp dword [ebx + 0xa4], edi
jne 0x1003bf91
cmp dword [ebx + 0xa8], edi
jne 0x1003bf91
add eax, 0x597a8
cmp dword [eax + 8], edi
mov dword [esp + 0x38], eax
jne 0x1003acc0
push ebx
call fcn.10004080
jmp 0x1003bf91
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1008a458
call fcn.10001a30
lea edx, [esp + 0x34]
lea ecx, [ebp + 0x68]
push edx
mov dword [esp + 0xc4], edi
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 + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
cmp esi, edi
je 0x1003ad61
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1003ad61
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1003ad61
cmp dword [ebx + 0x60], 0x32
jbe 0x1003ad61
call fcn.1004ad60
mov eax, dword [ebp + 0x80]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [ecx]
push eax
mov ecx, ebx
call edx
jmp 0x1003bf91
lea eax, [esp + 0x34]
push eax
mov ecx, 0x1008a464
call fcn.10001a30
lea ecx, [esp + 0x34]
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 esi, eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1003ae16
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1003ae16
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1003ae16
cmp dword [ebx + 0x60], 0x32
jbe 0x1003ae16
mov edi, 0x1cba2
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1003ae16
call fcn.1004ad60
mov ecx, dword [ebp + 0x80]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
call edx
jmp 0x1003bf91
mov eax, dword [esp + 0x38]
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, 0x41
jp 0x1003af18
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 + 0x40]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1003aee2
push ebx
call fcn.10004080
fld dword [esp + 0x30]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, dword [esp + 0x34]
call fcn.10004d90
test eax, eax
jne 0x1003af18
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1003bf91
mov eax, dword [esp + 0x38]
call fcn.10005300
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
jmp 0x1003bf91
call fcn.10064a60
test eax, eax
mov esi, dword [esp + 0x34]
je 0x1003af4e
mov eax, esi
call fcn.10003fe0
test eax, eax
jne 0x1003af4e
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 + 0x38]
call fcn.10005300
cmp dword [ebp + 0x38], 0
mov edi, 0x211
jne 0x1003af75
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 0x1003b076
fld qword [0x1008b798]
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1003afd6
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]
fld dword [esp + 0x64]
fstp dword [ebp + 0x2c]
jmp 0x1003afd8
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 + 0x40]
add esp, 4
fld dword [0x1008b7e8]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1003b036
push ebx
call fcn.10004080
fld dword [esp + 0x30]
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 0x1003b068
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
push edx
call fcn.1001ca30
mov eax, dword [esp + 0x38]
call fcn.10005300
jmp 0x1003b140
cmp eax, 1
jne 0x1003b147
jmp 0x1003b140
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 + 0x64], edx
fstp dword [esp + 0x4c]
mov dword [esp + 0x68], eax
fld dword [ebx + 0x20]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x48]
fld dword [ebx + 0x28]
fstp dword [esp + 0x50]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x54]
call fcn.10065c10
test al, al
je 0x1003b0f1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x5c]
call fcn.10023f00
jmp 0x1003b121
fld dword [esp + 0x48]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x5c]
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [esp + 0x84]
fstp dword [esp]
call fcn.10017880
add esp, 0x10
fst qword [esp + 0x3c]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1003bf29
push ebx
fstp st(0)
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 [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 0x1003b1a5
push ebx
call fcn.10004080
fld dword [esp + 0x38]
push ecx
fstp dword [esp]
call fcn.10022bd0
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x1003b1da
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
test eax, eax
je 0x1003b1da
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
test eax, eax
jle 0x1003b1da
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x1003b20f
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test eax, eax
je 0x1003b20f
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
test eax, eax
jle 0x1003b20f
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov ecx, ebx
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1003b234
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebx
call eax
test eax, eax
jle 0x1003b234
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 0x1003b259
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebx
call eax
test eax, eax
jle 0x1003b259
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebx
call eax
fld qword [0x1008b7f8]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x1003bf25
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x1003bf25
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x1008a470
call fcn.10001a30
lea edx, [esp + 0x38]
lea edi, [ebp + 0x68]
push edx
mov ecx, edi
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 esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1003b33b
cmp dword [esi + 0x14], 0
jne 0x1003b33b
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1003b33b
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1003b33b
cmp dword [ebx + 0x58], 1
jbe 0x1003b33b
mov eax, dword [ebp + 0x80]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ecx]
push eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1003bf91
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a478
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
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 0x1003b3eb
cmp dword [esi + 0x14], 0
jne 0x1003b3eb
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003b3eb
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1003b3eb
mov ecx, dword [ebp + 0x80]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1003bf91
fld qword [0x1008b798]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x1003bf25
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a484
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
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 esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1003b49b
cmp dword [esi + 0x14], 0
jne 0x1003b49b
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1003b49b
cmp dword [ebx + 0x58], 3
jb 0x1003b49b
mov edi, 0x1d925
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1003b49b
mov eax, dword [ebp + 0x80]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [ecx]
push eax
jmp 0x1003bf13
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a490
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
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 esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1003b54b
cmp dword [esi + 0x14], 0
jne 0x1003b54b
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003b54b
mov eax, ebx
call fcn.100040a0
cmp eax, 0x46
ja 0x1003b54b
cmp dword [ebx + 0x60], 0x28
jbe 0x1003b54b
mov ecx, dword [ebp + 0x80]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
xor eax, eax
jmp 0x1003bf96
mov eax, ebx
call fcn.100040a0
cmp eax, 0x3c
ja 0x1003b60a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a49c
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
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 esi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1003b60a
cmp dword [esi + 0x14], 0
jne 0x1003b60a
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003b60a
cmp dword [ebx + 0x60], 0x3c
jbe 0x1003b60a
fld dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
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
xor eax, eax
jmp 0x1003bf96
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x6c], 0
je 0x1003b69b
lea edx, [esp + 0x38]
push edx
mov ecx, 0x1008a4a4
call fcn.10001a30
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov dword [esp + 0xc4], 7
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003b69b
cmp dword [edi + 0x14], 0
jne 0x1003b69b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003b69b
cmp dword [ebx + 0x60], 0x1e
jbe 0x1003b69b
mov eax, dword [ebp + 0x80]
mov ecx, dword [edi]
push eax
push ecx
jmp 0x1003b324
mov edi, 0x1d050
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1003b721
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4ac
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 8
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003b721
cmp dword [edi + 0x14], 0
jne 0x1003b721
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003b721
mov ecx, dword [edi]
jmp 0x1003bf0b
mov eax, ebx
call fcn.100040a0
cmp eax, 0x28
ja 0x1003b7ba
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4b4
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 + 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 0x1003b7ba
cmp dword [esi + 0x14], 0
jne 0x1003b7ba
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003b7ba
mov edi, 0x1d87a
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1003b524
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4bc
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 + 0x38], 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 0x1003b833
cmp dword [edi + 0x14], 0
jne 0x1003b833
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003b833
cmp dword [ebx + 0x58], 0
je 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4c4
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 + 0x38], 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 0x1003b8ac
cmp dword [edi + 0x14], 0
jne 0x1003b8ac
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003b8ac
cmp dword [ebx + 0x60], 0x1e
jbe 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4cc
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 + 0x38], 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 0x1003b91f
cmp dword [edi + 0x14], 0
jne 0x1003b91f
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4d4
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 + 0x38], 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 0x1003b998
cmp dword [edi + 0x14], 0
jne 0x1003b998
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003b998
cmp dword [ebx + 0x58], 2
jae 0x1003b71a
push 7
mov eax, ebp
call fcn.10004c90
cmp eax, 2
jle 0x1003bc07
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4e0
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 + 0x38], 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 0x1003ba1d
cmp dword [edi + 0x14], 0
jne 0x1003ba1d
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4e8
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 + 0x38], 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 0x1003ba9c
cmp dword [edi + 0x14], 0
jne 0x1003ba9c
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003ba9c
cmp dword [ebx + 0x60], 0x28
jb 0x1003ba9c
cmp dword [ebx + 0x58], 3
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4f0
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 + 0x38], 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 0x1003bb15
cmp dword [edi + 0x14], 0
jne 0x1003bb15
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003bb15
cmp dword [ebx + 0x58], 2
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4fc
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 + 0x38], 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 0x1003bb8e
cmp dword [edi + 0x14], 0
jne 0x1003bb8e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003bb8e
cmp dword [ebx + 0x60], 0x28
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a508
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003bc07
cmp dword [edi + 0x14], 0
jne 0x1003bc07
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003bc07
cmp dword [ebx + 0x60], 0x3c
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a4ac
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x13
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 0x1003bc96
cmp dword [esi + 0x14], 0
jne 0x1003bc96
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003bc96
cmp dword [ebx + 0x58], 1
jb 0x1003bc96
mov edi, 0x1e9af
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1003b524
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a514
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x14
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 0x1003bd26
cmp dword [esi + 0x14], 0
jne 0x1003bd26
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1003bd26
cmp dword [ebx + 0x60], 0x1e
jb 0x1003bd26
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1003b488
lea eax, [esp + 0x38]
push eax
mov ecx, str.mp_
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x15
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003bd9f
cmp dword [edi + 0x14], 0
jne 0x1003bd9f
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003bd9f
cmp dword [ebx + 0x58], 2
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a528
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x16
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003be18
cmp dword [edi + 0x14], 0
jne 0x1003be18
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003be18
cmp dword [ebx + 0x58], 2
jae 0x1003b71a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1008a534
call fcn.10001a30
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x17
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 edi, eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003be97
cmp dword [edi + 0x14], 0
jne 0x1003be97
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003be97
cmp dword [ebx + 0x60], 0x28
jbe 0x1003be97
cmp dword [ebx + 0x58], 2
jb 0x1003b71a
lea eax, [esp + 0x30]
push eax
mov ecx, str.R_e
call fcn.10001a30
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x18
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 0x1003bf25
mov eax, dword [esi]
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x68]
call eax
test eax, eax
jne 0x1003bf25
mov ecx, dword [esi]
mov eax, dword [ebp + 0x80]
push eax
push ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
xor eax, eax
jmp 0x1003bf96
fld dword [esp + 0x74]
lea eax, [ebp + 0x24]
fld dword [esp + 0x4c]
mov ecx, 1
fsubr st(1)
mov edx, edi
mov esi, ebx
mov dword [ebp + 0x34], edi
fdiv st(2)
mov dword [ebp + 0x38], ecx
fsubp 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]
fld dword [esp + 0x78]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1003bf85
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x38]
call fcn.1001ca30
mov eax, dword [esp + 0x38]
call fcn.10005300
jmp 0x1003bf8a
cmp eax, 1
jne 0x1003bf91
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