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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, r8
mov rsi, rdx
mov r14, rcx
mov ebx, dword [rbp + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x10], xmm1
xor r15d, r15d
mov word [rbp], r15w
movdqu xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
movdqu xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], r15w
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x20]
lea rdx, [rbp]
mov rcx, rax
call fcn.18013a340
test al, al
je 0x180129e8d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rdi, [r14 + 0x30]
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
cmp qword [rbp - 0x70], r15
jne 0x180129d12
mov eax, r15d
jmp 0x180129d20
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
cmp qword [rbp - 0x50], 0
jne 0x180129d2c
mov r9, r15
jmp 0x180129d3a
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r9, qword [rbp - 0x60]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x20], rax
movzx r8d, word [rsp + 0x50]
mov rcx, rsi
call fcn.180129430
mov qword [rsp + 0x48], rax
mov ecx, r15d
mov rax, qword [rsp + 0x60]
xchg dword [rax], ecx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x180129e54
lea rax, [0x18028a968]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], r15
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea rdx, [0x18028a950]
mov rcx, qword [rsp + 0x48]
call fcn.1801294b0
mov qword [rsp + 0x40], rax
mov ecx, r15d
mov rax, qword [rsp + 0x68]
xchg dword [rax], ecx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180129ef2
mov dword [rsp + 0x78], 0x80
call fcn.180139b20
mov rcx, rax
lea r9, [rsp + 0x78]
mov r8d, 0x1f
mov rdx, rbx
call fcn.18013a260
test eax, eax
je 0x180129ef2
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xchg dword [rdi], eax
call fcn.180139b20
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
call fcn.180139ea0
nop
mov ecx, r15d
test eax, eax
mov rax, qword [rsp + 0x58]
xchg dword [rax], ecx
jne 0x180129ecb
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180129e73
call fcn.180139b20
mov rcx, rax
mov rdx, rbx
call fcn.180139f10
mov qword [rsp + 0x40], r15
test rsi, rsi
je 0x180129e8d
call fcn.180139b20
mov rcx, rax
mov rdx, rsi
call fcn.180139f10
mov qword [rsp + 0x48], r15
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x180129f01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129efc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x18], rax
mov rsi, r15
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x40]
mov qword [r14 + 8], rax
mov rbx, r15
mov qword [rsp + 0x40], rbx
jmp 0x180129e59
mov rsi, qword [rsp + 0x48]
jmp 0x180129e59
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180129f56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129f51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129f51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180129faa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180129ffe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129ff9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x18012a053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a04e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a04e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret