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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
fild dword [0xe61e5c]
push ebx
xor ebx, ebx
push esi
fdiv dword [0xe7c3d8]
fld qword [0x1013f510]
fmul st(1), st(0)
fxch st(1)
fsub qword [0x1013fc90]
fstp dword [ebp - 0x24]
cmp dword [0x10234f4c], ebx
jne 0x10061cda
cmp dword [0x10234a28], 3
jae 0x10061cda
fild dword [0xe61e58]
fdiv dword [0xe7c3d4]
fmulp st(1)
fsub qword [0x1013fd88]
jmp 0x10061cee
fild dword [0xe61e58]
fdiv dword [0xe7c3d4]
fmulp st(1)
fsub qword [0x1013fa68]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x24]
fadd qword [0x1013fb00]
call fcn.1012e5b0
fld dword [ebp - 0x28]
fadd qword [0x1013f600]
mov esi, eax
fst qword [ebp - 0x30]
call fcn.1012e5b0
push 0x1091f640
push ebx
push 0x6e
push 0xff222299
push 0xffffffffffffffff
push esi
push eax
mov dword [ebp - 0x54], eax
mov eax, dword [0x116de538]
push eax
mov cl, 3
call fcn.1008a600
fld dword [ebp - 0x28]
fadd qword [0x1013f590]
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push 0x1091f898
push ebx
push 0x41
push 0xff222299
push 0xffffffffffffffff
push esi
push eax
push ecx
mov cl, 3
mov dword [ebp - 0x50], eax
call fcn.1008a600
add esp, 0x40
cmp byte [0x10a89865], bl
jne 0x10061df8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
and edx, 3
push edx
lea eax, [ebp - 0x20]
push str.Loading_data__._ds
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
fld dword [0x10a8976c]
push 0x1013600c
fsub qword [0x1013f598]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call fcn.1012e5b0
fld dword [ebp - 0x24]
push eax
fadd qword [0x10140970]
push ebx
push 0xffffffffffffffff
call fcn.1012e5b0
fld dword [ebp - 0x28]
fadd qword [0x1013fa48]
push eax
call fcn.1012e5b0
mov edx, dword [0x116de538]
push eax
push edx
mov cl, 3
call fcn.1008a600
add esp, 0x24
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
mov cl, byte [0x10a89776]
mov dword [ebp - 0x38], 8
cmp cl, byte [0x10a89777]
jne 0x10061e32
mov esi, dword [0x10a8a2f8]
sub esi, dword [0x10a8a2f4]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 7
mov dword [ebp - 0x38], eax
push edi
mov dword [ebp - 0x44], 0xffffffff
cmp dword [ebp - 0x38], ebx
jle 0x10061f8e
fld qword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
fstp dword [ebp - 0x40]
fld dword [ebp - 0x24]
fadd qword [0x10140960]
fstp qword [ebp - 0x4c]
jmp 0x10061e60
fild dword [ebp - 0x3c]
movzx ecx, cl
lea edi, [ebx + ecx*8 - 8]
mov esi, edi
sub esi, dword [0x10a89858]
fadd qword [ebp - 0x4c]
fst qword [ebp - 0x30]
neg esi
sbb esi, esi
and esi, 0xdd00
add esi, 0xffff22ff
call fcn.1012e5b0
imul edi, edi, 0x70
mov edx, dword [0x10a8a2f4]
movzx edx, word [edi + edx]
imul edx, edx, 0x54
mov ecx, 0x8128ac0
add edx, dword [ecx]
mov ecx, dword [0x116de538]
push edx
push 0
push 0x6e
push 0
push esi
push eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x54]
push eax
push ecx
mov cl, 1
call fcn.1008a600
movzx edx, byte [0x10a89776]
mov ecx, dword [0x10a8a2f4]
lea eax, [ebx + edx*8]
imul eax, eax, 0x70
mov ecx, dword [eax + ecx - 0x314]
add esp, 0x20
test ecx, ecx
jns 0x10061eea
mov eax, 0x10135fa8
jmp 0x10061eef
call fcn.1005f630
mov edx, dword [ebp - 0x34]
mov ecx, dword [0x116de538]
push eax
mov eax, dword [ebp - 0x50]
push 0x10135e70
push 0
push 0x32
push 0
push esi
push edx
push eax
push ecx
mov cl, 3
call fcn.1008a600
fld qword [ebp - 0x30]
mov cl, byte [0x10a89776]
fstp dword [ebp - 0x2c]
mov eax, 0x879340c
fild dword [eax]
add esp, 0x24
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fld dword [ebp - 0x40]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10061f7c
fadd qword [0x1013f7b8]
fcompp
fnstsw ax
test ah, 1
jne 0x10061f80
fild dword [0x8793410]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fld dword [ebp - 0x2c]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x10061f7c
fadd qword [0x1013f6d8]
fcompp
fnstsw ax
test ah, 1
jne 0x10061f80
movzx edx, cl
lea eax, [ebx + edx*8 - 8]
mov dword [ebp - 0x44], eax
jmp 0x10061f80
fstp st(1)
fstp st(0)
add dword [ebp - 0x3c], 0xf
inc ebx
cmp ebx, dword [ebp - 0x38]
jl 0x10061e60
fld dword [ebp - 0x28]
push ecx
fadd qword [0x1013fa90]
mov ecx, 0x637c60
fsub qword [0x1013f7b0]
fst qword [ebp - 0x4c]
fldz
fst dword [esp]
fld dword [0x10140bdc]
push 1
push 1
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [0x10140710]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1013f978]
fstp dword [esp + 0xc]
fld dword [0x1013f548]
fstp dword [esp + 8]
fld dword [0x10a89770]
fadd dword [ebp - 0x24]
fsub qword [0x1013fd80]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
push 0x7e58
call ecx
fld dword [0x10a89770]
movzx edx, byte [0x10a89777]
fadd dword [ebp - 0x24]
movzx eax, byte [0x10a89776]
fsub qword [0x1013f600]
add esp, 0x30
push edx
push eax
push str._d____d
push 0
push 0x32
push 0
push 0xffffffffffffffff
call fcn.1012e5b0
push eax
fld qword [ebp - 0x4c]
call fcn.1012e5b0
mov ecx, dword [0x116de53c]
push eax
push ecx
mov cl, 3
call fcn.1008a600
fld dword [0x1013f974]
fstp dword [esp + 0x24]
add esp, 0x20
fld dword [0x1013f6f0]
fstp dword [esp]
push 0x1005fc10
fld dword [0x1013fe48]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [0x1013f7a0]
fstp dword [esp + 0x10]
fld dword [0x1013fb20]
fstp dword [esp + 0xc]
fld dword [0x10150fa8]
fstp dword [esp + 8]
fld dword [0x10a89770]
fadd dword [ebp - 0x24]
fsub qword [0x1013fba8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x28]
fadd qword [0x1013fa58]
fsub qword [0x1013f7b0]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
mov esi, 0x7e59
call fcn.1005fed0
fld dword [0x1013f974]
sub esp, 8
fstp dword [esp + 4]
mov esi, 0x7e5a
fld dword [0x1013f6f0]
fstp dword [esp]
push 0x1005fc30
fld dword [0x1013fe48]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [0x1013f7a0]
fstp dword [esp + 0x10]
fld dword [0x1013fb20]
fstp dword [esp + 0xc]
fld dword [0x10150fa8]
fstp dword [esp + 8]
fld dword [0x10a89770]
fadd dword [ebp - 0x24]
fsub qword [0x1013fba8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x28]
fadd qword [0x10140b28]
fsub qword [0x1013f7b0]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
call fcn.1005fed0
fld dword [ebp - 0x24]
xor esi, esi
fadd qword [0x1013f598]
mov dword [ebp - 0x34], esi
fadd qword [0x1013f6b8]
fstp qword [ebp - 0x4c]
fld dword [ebp - 0x28]
fadd qword [0x10140a10]
fstp dword [ebp - 0x40]
lea esp, [esp]
fld1
sub esp, 0x10
fstp dword [esp + 0xc]
mov edx, 0x790b50
fld dword [0x1013f710]
fstp dword [esp + 8]
fild dword [ebp - 0x34]
fadd qword [ebp - 0x4c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x40]
fstp dword [esp]
push 0x7a72
call edx
inc esi
add esp, 0x14
mov dword [ebp - 0x34], esi
cmp esi, 0xb8
jl 0x10062180
fld dword [ebp - 0x24]
push 0x1091faf0
fadd qword [0x1013f758]
push 0
push 0
push 0xff222299
push 0xffffffffffffffff
call fcn.1012e5b0
fld dword [ebp - 0x28]
fadd qword [0x10140160]
push eax
call fcn.1012e5b0
push eax
mov eax, dword [0x116de538]
push eax
mov cl, 3
call fcn.1008a600
fld dword [ebp - 0x28]
fadd qword [0x1013fd88]
add esp, 0x20
fstp dword [ebp - 0x3c]
fld dword [ebp - 0x24]
fadd qword [0x1013fac0]
fstp dword [ebp - 0x38]
fild dword [0x879340c]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fld dword [ebp - 0x3c]
fcom st(1)
fnstsw ax
fld dword [ebp - 0x38]
test ah, 0x41
jp 0x10062270
fld qword [0x1013f758]
fadd st(2), st(0)
fxch st(3)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x10062278
fild dword [0x8793410]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x10062276
fxch st(1)
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x1006227c
mov bl, 1
jmp 0x1006227e
fstp st(2)
fstp st(0)
jmp 0x1006227a
fstp st(0)
fstp st(1)
fstp st(0)
xor bl, bl
cmp word [0x10a897e5], 0xffff
je 0x100622ec
test bl, bl
je 0x1006233a
mov ecx, 0x7dd0f0
call ecx
test eax, eax
je 0x1006233a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x15e
cmp eax, 0x12c
jbe 0x1006233a
fld dword [ebp - 0x24]
push 0x10135e74
fadd qword [0x1013f980]
push 0x46
push 0x46
push 0xa1252590
push 0
call fcn.1012e5b0
fld dword [ebp - 0x28]
fadd qword [0x10140bf8]
push eax
call fcn.1012e5b0
mov edx, dword [0x116de538]
push eax
push edx
jmp 0x10062330
test bl, bl
je 0x1006233a
mov eax, 0x7dd0f0
call eax
test eax, eax
je 0x1006233a
fld dword [ebp - 0x24]
push 0x10135e74
fadd qword [0x1013f980]
push 0x46
push 0x46
push 0x255ba190
push 0
call fcn.1012e5b0
fld dword [ebp - 0x28]
fadd qword [0x10140bf8]
push eax
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push eax
push ecx
mov cl, 1
call fcn.1008a600
add esp, 0x20
fldz
push ecx
fst dword [esp]
mov edx, 0x637c60
fld dword [0x10140bf4]
push 1
push 1
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [0x10140bf0]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1013fb78]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x38]
fstp dword [esp + 4]
fld dword [ebp - 0x3c]
fstp dword [esp]
push 0x7c05
call edx
mov ax, word [0x10a897e5]
add esp, 0x30
cmp ax, 0xffff
je 0x100623f3
mov ecx, dword [0x10a89854]
fld dword [ebp - 0x24]
fadd qword [0x1013f960]
cwde
imul eax, eax, 0x54
add eax, dword [0x8128ac0]
neg ecx
push eax
push 0
sbb ecx, ecx
push 0xb4
and ecx, 0xdd0000
add ecx, 0xff2222ff
push 0
push ecx
call fcn.1012e5b0
push eax
fld dword [ebp - 0x28]
fadd qword [0x101405a8]
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push eax
push edx
mov cl, 3
call fcn.1008a600
add esp, 0x20
mov ecx, dword [0x10a89854]
test ecx, ecx
jns 0x10062404
mov esi, 0x10135fa8
jmp 0x1006240b
call fcn.1005f630
mov esi, eax
fld dword [ebp - 0x28]
fadd qword [0x101405a8]
call fcn.1012e5b0
fld dword [ebp - 0x24]
fadd qword [0x10140b28]
push esi
push 0x1091fd48
push 0
push 0xb4
push 0
push 0xffffffffffffffff
mov edi, eax
call fcn.1012e5b0
push eax
mov eax, dword [0x116de538]
push edi
push eax
mov cl, 3
call fcn.1008a600
fld dword [0x1013fb28]
fstp dword [esp + 0x20]
add esp, 0x1c
fld dword [0x1013f548]
mov esi, 0x7e4b
fstp dword [esp]
push 0x1005fc80
fld dword [0x1013fe48]
sub esp, 0x18
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x10140998]
fstp dword [esp + 0xc]
fld dword [0x101408cc]
fstp dword [esp + 8]
fld dword [ebp - 0x24]
fadd qword [0x1013fc90]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x28]
fadd qword [0x10140be8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
call fcn.1005fed0
fld dword [ebp - 0x24]
push 0x1091ffa0
fadd qword [0x10140be0]
push 0
push 0xb4
push 0
fsub qword [0x1013f6d8]
push 0xffffffffffffffff
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push eax
push edi
push ecx
mov cl, 3
call fcn.1008a600
fldz
fst dword [esp + 0x1c]
add esp, 0x1c
fld dword [0x1014070c]
push 1
push 1
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [0x10140bd8]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x1013f974]
fstp dword [esp + 0xc]
fld dword [0x1013f54c]
fstp dword [esp + 8]
fld dword [0x10a89770]
fadd dword [ebp - 0x24]
fsub qword [0x1013fba8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
mov edx, 0x637c60
fld dword [0x10a8976c]
fadd dword [ebp - 0x28]
fsub qword [0x10140bd0]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
push 0x7aa3
call edx
fld dword [0x10a89770]
fadd dword [ebp - 0x24]
add esp, 0x30
push 0x1091ffa0
push 0
fsub qword [0x1013f900]
push 0x28
push 0
push 0xffffffffffffffff
call fcn.1012e5b0
fld dword [0x10a8976c]
fadd dword [ebp - 0x28]
push eax
fsub qword [0x1013f950]
call fcn.1012e5b0
push eax
mov eax, dword [0x116de538]
push eax
mov cl, 3
call fcn.1008a600
mov ecx, dword [0x10a8985c]
add esp, 0x20
pop edi
test ecx, ecx
jns 0x100625c5
mov eax, 0x10135fa8
jmp 0x100625ca
call fcn.1005f630
fld dword [0x10a89770]
push eax
fadd dword [ebp - 0x24]
push 0x10135e70
push 0
push 0
fsub qword [0x1013f900]
push 0
push 0xffffffffffffffff
call fcn.1012e5b0
fld dword [0x10a8976c]
fadd dword [ebp - 0x28]
push eax
fsub qword [0x1013fb00]
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push eax
push ecx
mov cl, 1
call fcn.1008a600
mov eax, dword [ebp - 0x44]
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
add esp, 0x24
cmp eax, 0xffffffff
je 0x1006269b
fld1
imul eax, eax, 0x70
add eax, dword [0x10a8a2f4]
push ecx
movsx edx, byte [eax + 0x18]
fstp dword [esp]
movsx ecx, byte [eax + 0x17]
fld dword [0x1013fb78]
push edx
mov edx, dword [eax + 2]
movsx eax, word [eax]
push ecx
mov ecx, dword [0x8793410]
push edx
mov edx, dword [0x879340c]
push eax
sub esp, 0x10
sub ecx, 5
mov dword [ebp - 0x2c], ecx
fst dword [esp + 0xc]
add edx, 0xf
fstp dword [esp + 8]
fild dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
fstp dword [esp + 4]
fild dword [ebp - 0x2c]
fstp dword [esp]
call fcn.10063400
push 1
mov eax, 0x635fd0
call eax
fld1
fst dword [esp]
sub esp, 0xc
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call esi
mov ax, word [0x10a897e5]
cmp ax, 0xffff
je 0x10062780
fld1
movsx edx, byte [0x10a897fc]
push ecx
movsx ecx, byte [0x10a897fd]
fstp dword [esp]
fld dword [0x1013fb78]
push ecx
mov ecx, dword [0x10a897e7]
push edx
movsx edx, ax
push ecx
push edx
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x38]
fstp dword [esp + 4]
fld dword [ebp - 0x3c]
fstp dword [esp]
call fcn.10063400
test bl, bl
je 0x10062780
push 1
mov eax, 0x635fd0
call eax
fld1
fst dword [esp]
sub esp, 0xc
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call esi
push 1
mov ecx, 0x791050
call ecx
add esp, 4
test al, al
je 0x10062780
cmp byte [0x10a89862], 0
jne 0x10062745
pop esi
mov byte [0x10a89862], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
mov edx, 0x599f10
call edx
cmp eax, 0xffffffff
jne 0x10062780
mov eax, dword [0x10a89850]
push 0x10a897e5
push eax
mov ecx, 0x7dd100
call ecx
add esp, 8
or edx, 0xffffffff
mov word [0x10a897e5], dx
mov dword [0x10a89854], 0
mov dword [0x10a89858], edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1012db16
mov esp, ebp
pop ebp
ret