Function at 0x1001daaf
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
inc dword [0x100f4c95]
cmp dword [0x100f4c99], 0
jne 0x1001daea
cmp dword [0x100f4c9d], 0
jne 0x1001daea
xor eax, eax
jmp 0x1001daef
mov eax, 1
test eax, eax
je 0x1001db93
inc dword [0x100f4ca1]
cmp dword [0x100f4ca1], 0x12c
jne 0x1001db93
mov dword [0x100f4ca1], 0
mov dword [ebp - 0xc], esp
push 0x20000
push 0x10
push 0x207
push dword [0x100f457d]
xor eax, eax
call dword [sym.imp.USER32.dll_PostMessageA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001db55
push 0x1f2
push 0x4027331
push 6
call fcn.100775a9
add esp, 0xc
mov dword [ebp - 0xc], esp
push 0x20000
push 0
push 0x208
push dword [0x100f457d]
xor eax, eax
call dword [sym.imp.USER32.dll_PostMessageA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001db93
push 0x227
push 0x4027331
push 6
call fcn.100775a9
add esp, 0xc
cmp dword [0x100f45a9], 0
je 0x1001dba5
call fcn.1001dfab
call fcn.10023777
mov dword [ebp - 0xc], esp
push dword [0x100f457d]
xor eax, eax
call dword [0x100f518d]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1001dbd9
push 0x465
push 0x4027331
push 6
call fcn.100775a9
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1001de00
cmp dword [0x100f4ca5], 0
jne 0x1001ddf0
cmp dword [0x100f4a29], 0
je 0x1001dc38
fild qword [0x100f4ca9]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100be2fa]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.100020b3
push edx
push eax
call fcn.10022261
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001dc38
mov eax, 1
jmp 0x1001dc3d
mov eax, 0
test eax, eax
je 0x1001ddf0
push dword [0x100f458d]
push dword [0x100f4589]
call fcn.100224f7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x100be302]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100020b3
push edx
push eax
call fcn.100224f7
push edx
push eax
call fcn.100224f7
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x100be30a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.100020b3
push edx
push eax
call fcn.100224f7
mov dword [0x100f4ca9], eax
mov dword [0x100f4cad], edx
push 0x100b651c
push dword [0x100f4a31]
call fcn.10002385
add esp, 8
cmp eax, 0
jne 0x1001dd70
fild qword [0x100f4ca9]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100be312]
fstp qword [ebp - 0x18]
fild qword [0x100f4ca9]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x100be2fa]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.100020b3
push edx
push eax
call fcn.10022261
mov dword [ebp - 0x2c], eax
push 1
push 3
push dword [ebp - 0x2c]
call fcn.10023d34
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.100242cc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001dd48
push ebx
call fcn.10077597
add esp, 4
lea eax, [ebp - 0x38]
push eax
fld qword [ebp - 0x18]
call fcn.100020b3
push edx
push eax
call fcn.1002282f
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1001dd6b
push ebx
call fcn.10077597
add esp, 4
jmp 0x1001ddf0
fild qword [0x100f4ca9]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100be312]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x100f4a31
call fcn.100242cc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x18]
call fcn.100020b3
push edx
push eax
call fcn.1002282f
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001ddc1
push ebx
call fcn.10077597
add esp, 4
fild qword [0x100f4ca9]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100be2fa]
fstp qword [ebp - 0x18]
push 0x100f4a31
call fcn.10024605
push eax
fld qword [ebp - 0x18]
call fcn.100020b3
push edx
push eax
call fcn.100227d7
push dword [0x100f457d]
call fcn.1000d334
jmp 0x1001de0f
call fcn.10024790
push 0
call fcn.100775c7
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x100f45c5]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.100020b3
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x100f45c5], eax
fild qword [0x100f45bd]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild qword [ebp - 8]
fstp qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100020b3
mov dword [0x100f45bd], eax
mov dword [0x100f45c1], edx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [0x100f45c1]
push dword [0x100f45bd]
call fcn.1001d76f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x100f45d1]
test ebx, ebx
je 0x1001dee7
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [0x100f45d1], eax
xor eax, eax
cmp dword [0x100f45c1], 0
jg 0x1001df04
jl 0x1001df03
cmp dword [0x100f45bd], 0
jae 0x1001df04
inc eax
test eax, eax
je 0x1001df25
mov dword [0x100f4589], 0
mov dword [0x100f458d], 0
call fcn.10024790
cmp dword [0x100f4c95], 0x64
jne 0x1001dfa7
mov dword [0x100f4c95], 0
push 0x80000006
push 0
push 0x10031dca
push 1
mov ebx, 0x9dc
call fcn.10078660
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push dword [ebp - 0xc]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001dfa2
push 0xba9
push 0x4027331
push 6
call fcn.100775a9
add esp, 0xc
jmp 0x1001dfa7
mov esp, ebp
pop ebp
ret