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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rcx, qword [0x140117920]
xor esi, esi
cmp rcx, rsi
je 0x1400323be
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [0x140117920]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x140117920], rsi
lea rdx, [0x1400fe5d8]
lea rcx, [0x140117fa0]
call fcn.140025b00
lea rcx, [0x1400fe5d8]
call fcn.14002ede4
mov rcx, qword [rsp + 0x70]
mov edx, 0x2d
mov qword [rsp + 0x30], rcx
cmp dx, word [rcx]
mov al, 0x2a
cmove eax, edx
mov rbx, rsi
lea ebp, [rdx - 0x2b]
movsx edi, al
movzx eax, word [rcx]
cmp edi, eax
jne 0x14003247f
movzx eax, word [rcx + 2]
cmp edi, eax
jne 0x14003247f
lea rdx, [rcx + 4]
lea rcx, [0x1400fe5d0]
mov r8d, ebp
call fcn.140053674
cmp al, sil
je 0x14003247a
mov rax, qword [rsp + 0x30]
add rax, 8
mov rbx, rax
jmp 0x14003244f
mov edx, 9
cmp dx, cx
ja 0x140032442
cmp cx, 0xd
jbe 0x14003245c
mov edx, 0x20
cmp dx, cx
je 0x14003245c
add rax, rbp
mov qword [rsp + 0x30], rax
movzx ecx, word [rax]
cmp cx, si
jne 0x140032432
mov word [rax], si
add qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.1400157dc
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
jmp 0x14003247f
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx]
mov r12d, 1
cmp edi, eax
jne 0x1400324e8
movzx eax, word [rcx + 2]
cmp edi, eax
jne 0x1400324e8
add rcx, 4
lea rdx, [rsp + 0x30]
mov r8d, r12d
mov qword [rsp + 0x30], rcx
lea rcx, [0x1400fe5cc]
call fcn.14005c928
cmp al, sil
je 0x1400324c5
mov edi, r12d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
jmp 0x14003253e
add qword [rsp + 0x30], 4
lea rdx, [rsp + 0x30]
lea rcx, [0x1400fcdc4]
mov r8d, r12d
call fcn.14005c928
cmp al, sil
je 0x140032529
mov edi, ebp
jmp 0x1400324b9
lea rdx, [rsp + 0x70]
lea rcx, [0x1400fe5c4]
mov r8d, 5
call fcn.14005c928
cmp al, sil
je 0x140032509
mov edi, r12d
jmp 0x14003253e
lea rdx, [rsp + 0x70]
lea rcx, [0x1400fe5bc]
mov r8d, 4
call fcn.14005c928
cmp al, sil
je 0x140032529
mov edi, ebp
jmp 0x14003253e
lea rcx, [0x1400fb278]
call fcn.140018be0
mov edi, esi
cmp rax, rsi
setne dil
mov qword [rsp + 0x38], rbx
cmp rbx, rsi
jne 0x14003257b
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
mov edx, 0x2c
mov qword [rsp + 0x38], rax
call fcn.1400cb7a8
mov rbx, qword [rsp + 0x38]
cmp word [rbx], si
je 0x14003257b
mov word [rbx], si
mov rbx, qword [rsp + 0x38]
add rbx, rbp
mov qword [rsp + 0x38], rbx
cmp edi, esi
jne 0x14003258c
cmp word [rbx], si
je 0x14003258c
mov rcx, rbx
call fcn.140031cd4
mov rbp, 0xffffffff80000002
lea r8, [0x1400fa5f0]
lea rdx, [0x1400fa5c8]
mov rcx, rbp
call qword [0x140118228]
xor edx, edx
xor ecx, ecx
call fcn.140023c00
mov rcx, qword [rsp + 0x70]
call fcn.1400ddf70
mov r8, qword [0x140115260]
cmp edi, r12d
lea ecx, [rax + rax]
lea rax, [0x1400fa9d0]
lea rdx, [0x1400fa5c8]
mov dword [rsp + 0x28], ecx
cmove r8, rax
mov rax, qword [rsp + 0x70]
mov r9d, r12d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [fcn.140118220]
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
xor ecx, ecx
mov ebx, eax
call fcn.1400197ac
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x88]
lea r8, [0x1400fd318]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
lea rdx, [0x1400fb830]
mov rcx, rbp
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x80], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], 4
call qword [fcn.140117c80]
cmp eax, esi
jne 0x14003265f
cmp dword [rsp + 0x78], esi
jne 0x140032689
xor r9d, r9d
lea rcx, [0x140117fa0]
xor r8d, r8d
lea edx, [r9 + 5]
call fcn.14001d848
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, ebx
cmp eax, 0x1770
ja 0x1400326a0
jmp 0x140032605
lea rcx, [0x140117fa0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x96
call fcn.14001d848
xor eax, eax
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret