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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0x1bb
jne 0x1003216d
cmp dword [ebp + 0xc], 0x1f7
jne 0x1003216d
push 0x101e9d1e
push dword [0x10242e0c]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x1003216d
mov eax, 1
jmp 0x1003216f
xor eax, eax
test eax, eax
je 0x100321ae
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x101e9d27
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006c93
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100321a4
push ebx
call fcn.101b9db6
add esp, 4
mov eax, 0
jmp 0x10032953
cmp dword [ebp + 0x10], 0x3e7
jne 0x100321f9
mov eax, dword [ebp + 8]
cmp dword [0x1024305c], eax
jne 0x100321e0
mov eax, dword [ebp + 0xc]
cmp dword [0x10243060], eax
jne 0x100321e0
mov eax, 1
jmp 0x100321e2
xor eax, eax
test eax, eax
je 0x100321f4
mov eax, 1
jmp 0x10032953
jmp 0x1003222e
cmp dword [ebp + 0x10], 0
jne 0x1003220a
mov dword [ebp + 0x10], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003200e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x10], eax
jge 0x1003222e
mov eax, 1
jmp 0x10032953
push 0x10242ec0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100323e3
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x101e9d2e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006c93
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003227a
push ebx
call fcn.101b9db6
add esp, 4
mov eax, dword [0x1024305c]
cmp dword [0x10243128], eax
jne 0x100322a3
mov eax, dword [0x10243060]
cmp dword [0x1024312c], eax
jne 0x100322a3
mov eax, 1
jmp 0x100322a5
xor eax, eax
test eax, eax
je 0x100323a9
mov dword [0x10243128], 0
mov dword [0x1024312c], 0
inc dword [0x10243130]
cmp dword [0x10243130], 0xf
jle 0x1003239a
push 0x101e57b2
push dword [0x10242da8]
mov ecx, 2
call fcn.1000207b
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.101ba6e0
add esp, 0x10
mov dword [ebp - 0x14], eax
push OleUIBusyA
push 0
push 0x101e9d34
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003233d
mov eax, 0x101e52e0
push eax
push OleUIBusyA
push 0
push 0x101e57bf
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003235d
mov eax, 0x101e52e0
push eax
push 4
mov ebx, 0x8cc
call fcn.101bb700
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10032380
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10032390
push ebx
call fcn.101b9db6
add esp, 4
push 0
call fcn.101b9de0
add esp, 4
call fcn.10032959
mov eax, 0
jmp 0x10032953
mov dword [0x10243130], 0
mov eax, dword [0x1024305c]
mov dword [0x10243128], eax
mov eax, dword [0x10243060]
mov dword [0x1024312c], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10032a18
jmp 0x10032949
mov eax, dword [0x1024305c]
cmp dword [0x10243128], eax
jne 0x1003240c
mov eax, dword [0x10243060]
cmp dword [0x1024312c], eax
jne 0x1003240c
mov eax, 1
jmp 0x1003240e
xor eax, eax
test eax, eax
je 0x1003285f
inc dword [0x10243134]
cmp dword [0x10243134], 0xa
jle 0x1003285a
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x101e9d37
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006c93
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10032456
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [0x10243138], 0
jne 0x100324ac
fild dword [0x10243060]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e5617]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
push dword [0x1024305c]
call fcn.10032a18
mov dword [0x10243138], 1
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 1
jne 0x1003251a
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e5617]
fstp qword [ebp - 0x18]
fild dword [0x10243060]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x101e5617]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100020d7
push eax
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 2
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 2
jne 0x10032570
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e5617]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [0x10243060]
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 3
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 3
jne 0x100325de
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e5617]
fstp qword [ebp - 0x18]
fild dword [0x10243060]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x101e5617]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100020d7
push eax
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 4
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 4
jne 0x10032634
fild dword [0x10243060]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e5617]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
push dword [0x1024305c]
call fcn.10032a18
mov dword [0x10243138], 5
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 5
jne 0x100326a2
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e5617]
fstp qword [ebp - 0x18]
fild dword [0x10243060]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x101e5617]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100020d7
push eax
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 6
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 6
jne 0x100326f8
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e5617]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [0x10243060]
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 7
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 7
jne 0x10032766
fild dword [0x1024305c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e5617]
fstp qword [ebp - 0x18]
fild dword [0x10243060]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x101e5617]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100020d7
push eax
fld qword [ebp - 0x18]
call fcn.100020d7
push eax
call fcn.10032a18
mov dword [0x10243138], 8
mov eax, 0
jmp 0x10032953
cmp dword [0x10243138], 8
jne 0x10032794
call fcn.10032a93
test eax, eax
je 0x1003278a
mov dword [0x10243138], 9
mov eax, 0
jmp 0x10032953
push 0x101e57b2
push dword [0x10242da8]
mov ecx, 2
call fcn.1000207b
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.101ba6e0
add esp, 0x10
mov dword [ebp - 0x14], eax
push OleUIBusyA
push 0
push 0x101e7f9d
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100327fd
mov eax, 0x101e52e0
push eax
push OleUIBusyA
push 0
push 0x101e57bf
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003281d
mov eax, 0x101e52e0
push eax
push 4
mov ebx, 0x8cc
call fcn.101bb700
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10032840
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10032850
push ebx
call fcn.101b9db6
add esp, 4
push 0
call fcn.101b9de0
add esp, 4
jmp 0x10032887
mov dword [0x10243138], 0
mov dword [0x10243134], 0
mov eax, dword [0x1024305c]
mov dword [0x10243128], eax
mov eax, dword [0x10243060]
mov dword [0x1024312c], eax
push 0x14fad70
call fcn.10005f87
mov dword [ebp - 4], eax
push 4
push 0x14fad70
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x100328c8
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 8], eax
jne 0x100328c8
xor eax, eax
jmp 0x100328cd
mov eax, 1
test eax, eax
je 0x100328f6
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10032a18
mov eax, 0
jmp 0x10032953
cmp dword [0x10243038], 0xe
jle 0x10032949
push 0x10242ec0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
test eax, eax
je 0x1003292c
mov dword [0x1024313c], 0
jmp 0x10032949
cmp dword [0x1024313c], 3
jle 0x10032943
call fcn.10032959
jmp 0x10032949
inc dword [0x1024313c]
mov eax, 0
jmp 0x10032953
mov esp, ebp
pop ebp
ret 0x10