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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
cmp byte [0x118d0411], 0
push ebx
push esi
push edi
je 0x100baed8
mov ebx, dword [0x10a88884]
fld dword [ebx + 0x18]
push 0x226
fstp dword [esp + 0x18]
mov ecx, 0x109088a0
fld dword [ebx + 0x1c]
fstp dword [esp + 0x48]
fld dword [ebx]
fstp dword [esp + 0x44]
fld dword [ebx + 4]
fstp dword [esp + 0x20]
call fcn.1002e7e0
mov esi, dword [0x10a771a8]
add esp, 4
lea ebx, [esp + 0x3c]
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], esi
call fcn.100cf190
mov eax, dword [esp + 0x38]
mov edi, dword [0x119208f8]
cmp eax, edi
jne 0x100ba48b
mov dword [esp + 0x3c], 0
jmp 0x100ba492
add eax, 0x10
mov dword [esp + 0x3c], eax
inc esi
lea ebx, [esp + 0x38]
lea eax, [esp + 0x34]
mov dword [esp + 0x38], esi
call fcn.100cf190
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x100ba4b6
mov dword [esp + 0x38], 0
jmp 0x100ba4bd
add eax, 0x10
mov dword [esp + 0x38], eax
fld dword [esp + 0x40]
mov eax, dword [0x119208fc]
fld qword [0x1013fd80]
dec eax
fadd st(1)
mov dword [esp + 0x48], eax
fstp dword [esp + 0x24]
fld st(0)
fadd dword [esp + 0x14]
fsub qword [0x1013f590]
fstp dword [esp + 0x30]
fadd qword [0x1013fa68]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fld qword [0x1013fa48]
fadd st(1), st(0)
fxch st(1)
fst qword [esp + 0x50]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [0x1013f6d8]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x10]
js 0x100baed6
fld dword [esp + 0x44]
sub esp, 0x14
fsub qword [0x1013f7b0]
mov eax, 0x96
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fsub qword [0x1013f6c0]
fst qword [esp + 0x6c]
fldz
fstp dword [esp + 0x10]
fld dword [esp + 0x3c]
fstp dword [esp + 0xc]
fld dword [0x1013fd08]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp]
call fcn.10065df0
fld qword [esp + 0x50]
call fcn.1012e5b0
fld qword [esp + 0x58]
mov edi, eax
call fcn.1012e5b0
push 0x10a29a98
push 0x10908af8
push 0
push 0x7f
push 0xff0000b3
push 0xffffffffffffffc8
mov esi, eax
mov eax, dword [0x116de53c]
push edi
push esi
push eax
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x44]
fadd qword [0x1013f518]
add esp, 0x24
fst qword [esp + 0x50]
call fcn.1012e5b0
fld dword [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.1012e5b0
mov ecx, dword [0x10a77170]
mov edx, dword [esp + 0x20]
push ecx
push 0x10908d50
push 0
push 0x7f
push 0
push 0xffde26ff
mov ebx, eax
mov eax, dword [0x116de53c]
push edx
push ebx
push eax
mov cl, 1
call fcn.1008a600
fld qword [esp + 0x74]
fadd qword [0x1013f580]
add esp, 0x24
call fcn.1012e5b0
mov ecx, dword [0x10a77174]
mov dword [esp + 0x24], eax
call fcn.10066c50
mov ecx, dword [esp + 0x24]
mov edx, dword [0x116de53c]
push eax
push 0x10908fa8
push 0
push 0x7f
push 0
push 0xffde26ff
push ecx
push ebx
push edx
mov cl, 1
call fcn.1008a600
mov ecx, dword [0x10a77178]
add esp, 0x24
test ecx, ecx
jle 0x100ba6a2
mov eax, dword [0x10a77170]
inc eax
push eax
call fcn.10066c50
fld dword [esp + 0x18]
fsub qword [0x1013f590]
push eax
push 0x10909200
push 0
call fcn.1012e5b0
fld qword [esp + 0x60]
fadd qword [0x1013f600]
push eax
push 0
push 0xc8ff00ff
call fcn.1012e5b0
mov ecx, dword [0x116de53c]
push eax
push ebx
push ecx
mov cl, 1
call fcn.1008a600
add esp, 0x28
fld dword [esp + 0x10]
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push 0x10909458
push 0
push 0x7f
push 0xff914778
push 0xffffffffffffffc8
mov ebx, eax
push ebx
push esi
push edx
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x30]
fadd qword [0x1013f518]
call fcn.1012e5b0
mov ecx, dword [0x10a77188]
mov dword [esp + 0x54], eax
call fcn.10066c50
mov ecx, dword [0x116de53c]
push eax
mov eax, dword [esp + 0x58]
push 0x10a7717c
push str._s___s_
push 0
push 0x7f
push 0
push 0x47fff0ff
push eax
push esi
push ecx
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x58]
fadd qword [0x1013fba8]
add esp, 0x48
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push 0x109096b0
push 0
push 0x7f
push 0
push 0xc8ff00ff
push eax
push esi
push edx
mov cl, 3
mov dword [esp + 0x30], eax
call fcn.1008a600
fld dword [esp + 0x50]
fsub qword [0x1013f6c0]
add esp, 0xc
mov eax, 0x96
fst qword [esp + 0x6c]
fldz
fstp dword [esp + 0x10]
fld dword [esp + 0x3c]
fstp dword [esp + 0xc]
fld dword [0x1013fd08]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.10065df0
fld qword [esp + 0x58]
call fcn.1012e5b0
push 0x10a29b10
push 0x10908af8
push 0
push 0x7f
push 0x7dffb3
push 0xffffffffffffffc8
mov esi, eax
mov eax, dword [0x116de53c]
push edi
push esi
push eax
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x54]
add esp, 0x24
call fcn.1012e5b0
mov ecx, dword [0x10a7718c]
mov edx, dword [esp + 0x20]
push ecx
push 0x10908d50
push 0
push 0x7f
push 0
push 0xffde26ff
mov edi, eax
mov eax, dword [0x116de53c]
push edx
push edi
push eax
mov cl, 1
call fcn.1008a600
mov ecx, dword [0x10a77190]
add esp, 0x24
call fcn.10066c50
mov ecx, dword [esp + 0x24]
mov edx, dword [0x116de53c]
push eax
push 0x10908fa8
push 0
push 0x7f
push 0
push 0xffde26ff
push ecx
push edi
push edx
mov cl, 1
call fcn.1008a600
mov ecx, dword [0x10a77194]
add esp, 0x24
test ecx, ecx
jle 0x100ba885
mov eax, dword [0x10a7718c]
inc eax
push eax
call fcn.10066c50
fld dword [esp + 0x18]
fsub qword [0x1013f590]
push eax
push 0x10909200
push 0
call fcn.1012e5b0
fld qword [esp + 0x60]
fadd qword [0x1013f600]
push eax
push 0
push 0xc8ff00ff
call fcn.1012e5b0
mov ecx, dword [0x116de53c]
push eax
push edi
push ecx
mov cl, 1
call fcn.1008a600
add esp, 0x28
mov edx, dword [0x116de53c]
push 0x10909458
push 0
push 0x7f
push 0xff914778
push 0xffffffffffffffc8
push ebx
push esi
push edx
mov cl, 3
call fcn.1008a600
mov ecx, dword [0x10a771a4]
call fcn.10066c50
mov ecx, dword [0x116de53c]
push eax
mov eax, dword [esp + 0x58]
push 0x10a77198
push str._s___s_
push 0
push 0x7f
push 0
push 0x47fff0ff
push eax
push esi
push ecx
mov cl, 3
call fcn.1008a600
mov edx, dword [esp + 0x58]
mov eax, dword [0x116de53c]
add esp, 0x48
push 0x109096b0
push 0
push 0x7f
push 0
push 0xc8ff00ff
push edx
push esi
push eax
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x3c]
fadd qword [0x1013f750]
add esp, 0x20
fstp dword [esp + 0x10]
fld dword [esp + 0x18]
call fcn.1012e5b0
fld dword [esp + 0x10]
mov ecx, dword [0x10a771a8]
mov edx, dword [0x10a7239c]
push ecx
add edx, 0x38
push edx
push 0x10909908
push 0
push 0x8f
push 0x47ff78b3
push 0xc8
mov esi, eax
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x3c]
fsub qword [0x1013f960]
add esp, 0x28
call fcn.1012e5b0
fld dword [esp + 0x10]
fadd qword [0x1013f580]
push 0x10909b60
push 0
mov edi, eax
push edi
push 0
push 0xc8ff00ff
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push eax
push esi
push ecx
mov cl, 1
call fcn.1008a600
fld dword [esp + 0x30]
fadd qword [0x1013f600]
add esp, 0x20
push 0x10909db8
push 0
push edi
push 0
push 0xc8ff00ff
call fcn.1012e5b0
mov edx, dword [0x116de538]
push eax
push esi
push edx
mov cl, 1
call fcn.1008a600
fld dword [esp + 0x30]
mov eax, dword [0x10a7239c]
fadd qword [0x1013fa48]
movzx ecx, word [eax + 0x7e]
imul ecx, ecx, 0x74
movzx eax, byte [ecx + 0x116ffca2]
mov edx, eax
add esp, 0x20
shl edx, 4
sub edx, eax
lea eax, [edx*8 + 0x10a29a20]
push eax
push 0x1090a010
push 0
push edi
push 0
push 0xc8ff00ff
call fcn.1012e5b0
mov ecx, dword [0x116de538]
push eax
push esi
push ecx
mov cl, 1
call fcn.1008a600
mov eax, dword [esp + 0x5c]
add esp, 0x24
test eax, eax
je 0x100baa69
movzx edx, word [eax]
mov ecx, dword [eax + 4]
push edx
call fcn.10066c50
push eax
fld dword [esp + 0x18]
push 0x1090a268
fadd qword [0x1013f750]
push 0
push edi
push 0
push 0xc8ff00ff
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 1
call fcn.1008a600
add esp, 0x28
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
fadd qword [0x1013f6e8]
mov edx, dword [0x10a771a8]
push ecx
mov ecx, dword [0x10a771ac]
fadd qword [0x1013f7b0]
push edx
fstp qword [esp + 0x58]
call fcn.10066c50
fld qword [esp + 0x58]
push eax
push 0x1090a4c0
push 0
push 0x8f
push 0xdcfa1bb3
push 0xc8
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 3
call fcn.1008a600
fld qword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
fstp dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
fld dword [esp + 0x3c]
fadd qword [0x1013f580]
add esp, 0x2c
xor edx, edx
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
push 0x1090a718
push edx
push edi
push edx
push 0x1fd2ffff
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 1
call fcn.1008a600
fld dword [esp + 0x34]
mov ecx, dword [ebx + 0xc]
fadd qword [0x1013f600]
add esp, 0x24
xor edx, edx
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
push 0x1090a970
push edx
push edi
push edx
push 0x1fd2ffff
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 1
call fcn.1008a600
mov ecx, dword [ebx + 0x10]
add esp, 0x24
xor edx, edx
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
push 0x1090abc8
push edx
push edi
push edx
push 0x1fd2ffff
fld dword [esp + 0x28]
fadd qword [0x1013fa48]
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push esi
push eax
mov cl, 1
call fcn.1008a600
fld dword [esp + 0x34]
mov ebx, dword [ebx + 0x14]
fadd qword [0x1013f750]
add esp, 0x24
xor ecx, ecx
cmp ecx, ebx
sbb eax, eax
and eax, ebx
push eax
push 0x1090ae20
push ecx
push edi
push ecx
push 0x1fd2ffff
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push eax
push esi
push edx
mov cl, 1
call fcn.1008a600
mov ecx, dword [0x10a770ac]
add esp, 0x24
call fcn.10066c50
fld dword [esp + 0x10]
fadd qword [0x1013f7b0]
push eax
push 0x1090b078
push 0
push 0x8f
push 0xb8b1ab78
push 0xffffffffffffffc8
call fcn.1012e5b0
fld dword [esp + 0x30]
fsub qword [0x1013f6c0]
push eax
call fcn.1012e5b0
push eax
mov eax, dword [0x116de53c]
push eax
mov cl, 3
call fcn.1008a600
fld dword [esp + 0x34]
fadd qword [0x1013f598]
add esp, 0x24
push 0x1090b2d0
push 0
fadd qword [0x1013f6e8]
push 0x47
push 0
push 0xffffffffffffffc8
fst qword [esp + 0x6c]
call fcn.1012e5b0
mov ecx, dword [0x116de53c]
push eax
push esi
push ecx
mov cl, 3
call fcn.1008a600
fldz
fstp dword [esp + 0x1c]
add esp, 0x10
fld dword [0x101414b8]
fstp dword [esp + 8]
fld qword [esp + 0x68]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fadd qword [0x10140a70]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
mov ebx, dword [0x118d9af4]
fstp dword [esp]
call fcn.1008f650
fld dword [esp + 0x10]
fadd qword [0x1013fb00]
push 0x1090b528
push 0
push edi
fadd qword [0x1013f6e8]
push 0
push 0xfa8b1bff
call fcn.1012e5b0
mov edx, dword [0x116de53c]
push eax
push esi
push edx
mov cl, 1
call fcn.1008a600
mov eax, dword [0x118d9af4]
mov ecx, dword [0x10a770ac]
add esp, 0x20
cmp dword [eax + 4], ecx
jbe 0x100baccd
mov dword [eax + 4], ecx
fld dword [esp + 0x10]
push 0x1090b780
fadd qword [0x1013f9d8]
push 0xe
sub esp, 0xc
fadd qword [0x1013f6e8]
fstp dword [esp + 0x50]
fld dword [esp + 0x28]
fmul qword [0x1013f510]
fadd dword [esp + 0x54]
fsub qword [0x10140200]
fst qword [esp + 0x64]
fld dword [0x10140390]
fstp dword [esp + 8]
fld dword [esp + 0x50]
fstp dword [esp + 4]
fsub qword [0x1013fa48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10090420
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, al
je 0x100bad6a
call esi
sub eax, dword [0x118d040c]
cmp eax, 0x12c
jbe 0x100bad6a
mov eax, dword [0x118d9af4]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], ecx
push edx
mov ecx, 8
mov dword [esp + 0x4c], 0x6d308c1
call fcn.10100800
add esp, 4
fld dword [0x10140390]
push 0x10929348
push 0xe
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x50]
fstp dword [esp + 4]
fld qword [esp + 0x64]
fadd qword [0x1013f9d8]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10090420
test al, al
je 0x100badc1
call esi
sub eax, dword [0x118d03b8]
cmp eax, 0x12c
jbe 0x100badc1
xor byte [0x118d0369], 1
call esi
mov dword [0x118d0364], eax
fld dword [esp + 0x44]
push 0x109290f0
fsub qword [0x1013f750]
push 0xe
sub esp, 0xc
fadd dword [esp + 0x30]
fsub qword [0x1013fa48]
fstp dword [esp + 0x58]
fld dword [0x10140218]
fstp dword [esp + 8]
fld dword [esp + 0x58]
fstp dword [esp + 4]
fld qword [esp + 0x64]
fsub qword [0x1013f960]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10090420
mov bl, 0x56
test al, al
je 0x100bae55
call esi
sub eax, dword [0x118d03b8]
cmp eax, 0x12c
jbe 0x100bae55
lea eax, [esp + 0x48]
push eax
mov ecx, 8
mov word [esp + 0x4c], 0x8c1
mov byte [esp + 0x4e], 0xd3
mov byte [esp + 0x4f], bl
mov dword [esp + 0x50], 1
call fcn.10100800
add esp, 4
mov byte [0x118d03bd], 0
fld dword [0x10140218]
push 0x109290f0
push 0xe
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x58]
fstp dword [esp + 4]
fld qword [esp + 0x64]
fadd qword [0x1013f960]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10090420
test al, al
je 0x100baed8
call esi
sub eax, dword [0x118d03b8]
cmp eax, 0x12c
jbe 0x100baed8
lea ecx, [esp + 0x48]
push ecx
mov ecx, 8
mov word [esp + 0x4c], 0x8c1
mov byte [esp + 0x4e], 0xd3
mov byte [esp + 0x4f], bl
mov dword [esp + 0x50], 2
call fcn.10100800
add esp, 4
mov byte [0x118d03bd], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret