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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
fld dword [0x100b6f08]
push ebx
fcom dword [0xe7c3d4]
push esi
push edi
mov esi, 1
xor edi, edi
fnstsw ax
mov dword [ebp - 0x24], esi
test ah, 1
je 0x10044b59
mov dword [ebp - 0x24], edi
fild dword [ebp - 0x24]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10044b73
fld dword [0xe7c3d4]
jmp 0x10044b79
fld dword [0xe7c3d8]
fmul qword [0x100b6fb8]
mov dword [ebp - 0x20], esi
fstp dword [ebp - 0x2c]
fld dword [0xe7c3d8]
fmul qword [0x100b7e78]
fstp dword [ebp - 0x24]
fxch st(1)
fcomp dword [0xe7c3d4]
fnstsw ax
test ah, 1
je 0x10044ba6
mov dword [ebp - 0x20], edi
fild dword [ebp - 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10044bba
fld dword [0xe7c3d4]
jmp 0x10044bc0
fld dword [0xe7c3d8]
fld qword [0x100b7150]
mov eax, dword [0x1014a0ec]
fmul st(1), st(0)
fmul dword [0xe7c3d4]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fxch st(1)
fstp dword [ebp - 0x28]
fsub dword [ebp - 0x28]
fstp dword [ebp - 0xc]
fld qword [0x100b7e70]
cmp eax, 4
jne 0x10044bf7
fld qword [0x100b7e68]
jmp 0x10044bf9
fld st(0)
fstp dword [ebp - 0x1c]
cmp eax, 4
jne 0x10044c09
fstp st(0)
fld qword [0x100b7e60]
mov ecx, dword [0x10689614]
fstp dword [ebp - 0x14]
fild dword [0x10689614]
test ecx, ecx
jns 0x10044c22
fadd qword [0x100b6fc0]
fld qword [0x100b6f18]
mov edx, dword [0x10689610]
fdiv st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x20]
fild dword [0x10689610]
test edx, edx
jns 0x10044c45
fadd qword [0x100b6fc0]
fdiv dword [ebp - 0x20]
push ecx
fld dword [ebp - 0x1c]
fld st(0)
fdiv st(3)
fmul st(2)
fstp dword [ebp - 0x10]
fsub dword [ebp - 0x10]
fstp dword [ebp - 8]
fld dword [0xe7c3d8]
fmul qword [0x100b7130]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fld st(0)
fdivrp st(3)
fxch st(2)
fmulp st(1)
fstp dword [ebp - 0x18]
fld dword [0xe7c3d8]
fmul qword [0x100b7e58]
fstp dword [ebp - 0x28]
fadd dword [ebp - 0x28]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0x20]
cmp eax, 4
jne 0x10044c9d
fld dword [0x100b7e50]
jmp 0x10044ca3
fld dword [0x100b7e4c]
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 0x28], esi
fstp dword [ebp - 4]
fld dword [0x100b6f08]
fcomp dword [0xe7c3d4]
fnstsw ax
test ah, 1
je 0x10044ccd
mov dword [ebp - 0x28], edi
fild dword [ebp - 0x28]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10044ce7
fld dword [0xe7c3d4]
jmp 0x10044ced
fld dword [0xe7c3d8]
fld qword [0x100b7130]
push ecx
fmul st(1), st(0)
mov eax, 0x637c60
fxch st(2)
fst dword [esp]
push edi
fld dword [ebp - 0x1c]
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [ebp - 0x14]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0xe7c3d8]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 0xc]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 8]
fld dword [0xe7c3d8]
fmul qword [0x100b7e58]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0xc92e
call eax
mov ecx, dword [0x7bc4f04]
add esp, 0x30
push 0x37
add ecx, 0x4ec
mov edx, 0x4c8640
call edx
fldz
push ecx
fst dword [esp]
fld dword [ebp - 0x10]
push edi
push edi
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [ebp - 0x14]
fstp dword [esp + 0x10]
fld dword [ebp - 8]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x18]
fstp dword [esp + 4]
fld dword [0x100b7e48]
fstp dword [esp]
test al, al
je 0x10044dd2
call fcn.10099020
fstp dword [esp]
fld dword [ebp - 0x20]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x637c60
fld dword [ebp - 4]
fstp dword [esp]
push 0x7a41
call eax
jmp 0x10044df6
call fcn.10099020
fstp dword [esp]
fld dword [ebp - 0x20]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x637c60
fld dword [ebp - 4]
fstp dword [esp]
push 0x7a42
call ecx
mov eax, dword [0x1014a0ec]
add esp, 0x30
cmp eax, 4
jne 0x10044e0b
fld qword [0x100b7e68]
jmp 0x10044e11
fld qword [0x100b7e70]
fstp dword [ebp - 0x1c]
cmp eax, 4
jne 0x10044e21
fld qword [0x100b7e60]
jmp 0x10044e27
fld qword [0x100b7e70]
mov edx, dword [0x1068961c]
fstp dword [ebp - 0x14]
fild dword [0x1068961c]
test edx, edx
jns 0x10044e40
fadd qword [0x100b6fc0]
fld qword [0x100b6f18]
mov ecx, dword [0x10689618]
fdiv st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x20]
fild dword [0x10689618]
test ecx, ecx
jns 0x10044e63
fadd qword [0x100b6fc0]
fdiv dword [ebp - 0x20]
push ecx
fld dword [ebp - 0x1c]
fld st(0)
fdiv st(3)
fmul st(2)
fstp dword [ebp - 0x10]
fsub dword [ebp - 0x10]
fstp dword [ebp - 8]
fld dword [0xe7c3d8]
fmul qword [0x100b7130]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fld st(0)
fdivrp st(3)
fxch st(2)
fmulp st(1)
fstp dword [ebp - 0x18]
fld dword [0xe7c3d8]
fmul qword [0x100b7e58]
fstp dword [ebp - 0x28]
fadd dword [ebp - 0x28]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0x20]
cmp eax, 4
jne 0x10044ebb
fld dword [0x100b7e44]
jmp 0x10044ec1
fld dword [0x100b7e40]
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 0x28], esi
fstp dword [ebp - 4]
fld dword [0x100b6f08]
fcomp dword [0xe7c3d4]
fnstsw ax
test ah, 1
je 0x10044eeb
mov dword [ebp - 0x28], edi
fild dword [ebp - 0x28]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10044f05
fld dword [0xe7c3d4]
jmp 0x10044f0b
fld dword [0xe7c3d8]
fld qword [0x100b7130]
push ecx
fmul st(1), st(0)
mov edx, 0x637c60
fxch st(2)
fst dword [esp]
push edi
fld dword [ebp - 0x1c]
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [ebp - 0x14]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0xe7c3d8]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 0xc]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 8]
fld dword [0xe7c3d8]
fmul qword [0x100b7e58]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0xc92d
call edx
fld dword [0x100b6f08]
fcomp dword [0xe7c3d4]
add esp, 0x30
mov dword [ebp - 0x28], esi
fnstsw ax
test ah, 1
je 0x10044f96
mov dword [ebp - 0x28], edi
fild dword [ebp - 0x28]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10044fb0
fld dword [0xe7c3d4]
jmp 0x10044fb6
fld dword [0xe7c3d8]
fmul qword [0x100b7130]
push ecx
fxch st(1)
mov eax, 0x637c60
fst dword [esp]
push edi
fld dword [ebp - 0x10]
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [ebp - 0x14]
fstp dword [esp + 0x18]
fld dword [ebp - 8]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [ebp - 0x18]
fstp dword [esp + 0xc]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 8]
fld dword [ebp - 0x20]
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0x7a40
call eax
fldz
fst dword [esp + 0x2c]
add esp, 0x2c
fld dword [0x100b7e3c]
push edi
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
mov ecx, 0x637c60
fld dword [0x100b7e38]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0xe7c3d8]
fmul qword [0x100b7e30]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp + 0xc]
fld dword [ebp - 0x2c]
fstp dword [esp + 8]
fld dword [ebp - 0x24]
fstp dword [esp + 4]
fld dword [ebp - 0xc]
fstp dword [esp]
push 0x7a3d
call ecx
add esp, 0x30
xor eax, eax
mov ebx, 0xe7c3d4
mov dword [ebp - 0x1c], eax
lea esi, [ebx + 4]
jmp 0x10045085
mov eax, dword [ebp - 0x1c]
xor edi, edi
fld dword [esi]
fmul qword [0x100b7e28]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [ebp - 0x10]
cmp eax, 5
ja case.default.0x100450a8
jmp dword [eax*4 + 0x10045484]
fld dword [0x100b7e20]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 0x41
mov edx, 0x861110
fstp dword [ebp - 4]
fld dword [0x100b7e1c]
fstp dword [ebp - 8]
call edx
jmp 0x100451ad
fld dword [0x100b7368]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 0x10
fstp dword [ebp - 4]
fld dword [0x100b7e18]
jmp 0x100451a3
fld dword [0x100b7e14]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 0xd
fstp dword [ebp - 4]
fld dword [0x100b73dc]
jmp 0x100451a3
fld dword [0x100b7e10]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 4
fstp dword [ebp - 4]
fld dword [0x100b7e0c]
jmp 0x100451a3
fld dword [0x100b7e08]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 1
fstp dword [ebp - 4]
fld dword [ebp - 0x28]
fstp dword [ebp - 0x10]
fld dword [0x100b7e04]
jmp 0x100451a3
fld dword [0x100b7e00]
push ecx
fstp dword [esp]
call fcn.10099020
fadd dword [ebp - 0xc]
add esp, 4
push 0x22
fstp dword [ebp - 4]
fld dword [esi]
fmul qword [0x100b7df8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x10]
fld dword [0x100b7df0]
mov eax, 0x861110
fstp dword [ebp - 8]
call eax
mov ecx, eax
mov edx, 0x85ec20
call edx
test al, al
je case.default.0x100450a8
mov edi, 1
fld dword [0x100b7dec]
push ecx
fstp dword [esp]
call fcn.10099020
fdiv dword [ebx]
add esp, 4
push 0x15
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x10]
fdiv dword [esi]
fstp dword [ebp - 0x28]
fld dword [ebp - 4]
fdiv dword [ebx]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x2c]
call fcn.100ac0e0
fld dword [ebp - 0x28]
push eax
call fcn.100ac0e0
fld dword [ebp - 0x20]
push eax
call fcn.100ac0e0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x10045261
cmp dword [ebp - 0x1c], 3
jne 0x10045261
fld dword [ebp - 0x10]
push 0xd63
fsub qword [0x100b7298]
mov edx, 0x402320
mov ecx, 0x8128adc
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fdiv dword [esi]
fstp dword [ebp - 0x2c]
fld dword [ebp - 4]
fdiv dword [ebx]
fstp dword [ebp - 0x28]
call edx
fld dword [ebp - 0x2c]
push eax
call fcn.100ac0e0
fld dword [ebp - 0x28]
push eax
call fcn.100ac0e0
push eax
mov eax, 0x597220
call eax
add esp, 0xc
fld dword [0x100b7dec]
push ecx
fstp dword [esp]
call fcn.10099020
fdiv dword [ebx]
add esp, 4
push 0x15
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x10]
fdiv dword [esi]
fstp dword [ebp - 0x28]
fld dword [ebp - 4]
fdiv dword [ebx]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x2c]
call fcn.100ac0e0
fld dword [ebp - 0x28]
push eax
call fcn.100ac0e0
fld dword [ebp - 0x20]
push eax
call fcn.100ac0e0
push eax
mov ecx, 0x790b10
call ecx
add esp, 0x10
test al, al
je 0x100453b9
cmp byte [0x8793386], 0
je 0x100453b9
fldz
push ecx
fstp dword [esp]
fld dword [0x100b7de8]
push 0
push 0
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [0x100b7de4]
fstp dword [esp + 0x10]
fld dword [ebp - 8]
fstp dword [esp + 0xc]
fld dword [0x100b7de0]
fstp dword [esp + 8]
fld dword [esi]
fmul qword [0x100b7158]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [0x100b7dec]
fstp dword [esp]
call fcn.10099020
fstp dword [esp]
sub esp, 8
fld dword [ebp - 0x10]
mov edx, 0x637c60
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0x901
call edx
add esp, 0x30
cmp dword [ebp - 0x1c], 3
jne 0x1004543c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x1061bbc8]
add ecx, 0xc8
cmp eax, ecx
jb 0x1004543c
push 4
mov edx, 0x861110
call edx
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
push 4
mov eax, 0x861110
je 0x10045392
call eax
mov edx, 0x85f9a0
mov ecx, eax
call edx
call edi
mov dword [0x1061bbc8], eax
jmp 0x1004543c
call eax
mov edx, 0x85ec50
mov ecx, eax
call edx
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0xc
call edi
mov dword [0x1061bbc8], eax
jmp 0x1004543c
cmp edi, 1
jne 0x100453c6
fld qword [0x100b7dd8]
jmp 0x100453c8
fldz
fldz
push ecx
fstp dword [esp]
fld dword [0x100b7de8]
push 0
push 0
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [0x100b7de4]
fstp dword [esp + 0x10]
fld dword [ebp - 8]
fstp dword [esp + 0xc]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 8]
fld dword [esi]
fmul qword [0x100b7158]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [0x100b7dec]
fstp dword [esp]
call fcn.10099020
fstp dword [esp]
sub esp, 8
fld dword [ebp - 0x10]
mov ecx, 0x637c60
fstp dword [esp + 4]
fld dword [ebp - 4]
fstp dword [esp]
push 0x901
call ecx
add esp, 0x30
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 6
jl 0x10045080
mov eax, dword [0x1014a0ec]
pop edi
pop esi
pop ebx
cmp eax, 3
je 0x1004545e
cmp eax, 4
jne 0x1004547d
mov eax, dword [0x7bc4f04]
cmp dword [eax + 0x2a4], 0
jne 0x10045478
cmp dword [eax + 0x22c], 0xffff
je 0x1004547d
call fcn.1005a480
mov esp, ebp
pop ebp
ret