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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x28], 0
jne 0x100037e3
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000380c
push 0x65
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
je 0x10003827
cmp dword [ebp + 0x1c], 0
jl 0x10003827
xor eax, eax
jmp 0x1000382c
mov eax, 1
test eax, eax
je 0x1000383e
mov eax, 0x1e13380
jmp 0x10003841
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000386d
push 0x13c
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x40]
fcomp qword [0x1021a9d7]
fnstsw ax
test ah, 1
je 0x10003c08
mov dword [ebp - 0x1c], esp
push 0
push 0
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowExA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100038dd
push 0x179
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100038ef
jmp 0x10003c08
cmp dword [ebp + 0x24], 0
je 0x10003937
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10003925
push 0x22c
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10003937
jmp 0x10003844
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10003967
push 0x275
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x100039b3
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000399f
push 0x2ed
push 0x401389b
push 6
call fcn.10004de5
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100039b3
mov eax, 1
jmp 0x100039b8
mov eax, 0
test eax, eax
je 0x10003bf1
push dword [ebp - 0xc]
call fcn.10003c3a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100039df
push ebx
call fcn.10004dd3
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call fcn.10003cf0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10003a02
push ebx
call fcn.10004dd3
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jne 0x10003a21
cmp dword [ebp + 0x18], 0
jne 0x10003a21
mov eax, 1
jmp 0x10003a26
mov eax, 0
test eax, eax
je 0x10003a3b
mov eax, dword [ebp - 0xc]
jmp 0x10003c12
cmp dword [ebp + 0x10], 0
jne 0x10003aad
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10003a6a
mov eax, 0x1021a8f1
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x10003a80
mov eax, 0x1021a8f1
push eax
push 4
mov ebx, 0x148
call fcn.10005410
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x10003aa8
mov eax, dword [ebp - 0xc]
jmp 0x10003c12
jmp 0x10003bf1
cmp dword [ebp + 0x18], 0
jne 0x10003b1f
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10003adc
mov eax, 0x1021a8f1
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10003af2
mov eax, 0x1021a8f1
push eax
push 4
mov ebx, 0x148
call fcn.10005410
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x10003b1a
mov eax, dword [ebp - 0xc]
jmp 0x10003c12
jmp 0x10003bf1
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10003b44
mov eax, 0x1021a8f1
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x10003b5a
mov eax, 0x1021a8f1
push eax
push 4
mov ebx, 0x148
call fcn.10005410
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x10003bdc
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10003b9f
mov eax, 0x1021a8f1
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10003bb5
mov eax, 0x1021a8f1
push eax
push 4
mov ebx, 0x148
call fcn.10005410
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10003bdc
mov eax, 1
jmp 0x10003be1
mov eax, 0
test eax, eax
je 0x10003bf1
mov eax, dword [ebp - 0xc]
jmp 0x10003c12
push 0
mov ebx, 0x350
call fcn.10005c80
add esp, 4
jmp 0x10003844
mov eax, 0
jmp 0x10003c12
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003c23
push ebx
call fcn.10004dd3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10003c33
push ebx
call fcn.10004dd3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24