Function at 0x140029960
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov rax, qword [0x140080048]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r15, r9
mov rdi, r8
mov qword [rbp - 0x61], rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x71], rax
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
xor esi, esi
call fcn.140004360
mov r13, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140015ec0
mov rax, qword [rbp - 0x79]
cmp byte [rax], sil
jne 0x140029e24
mov r12b, 1
mov rbx, qword [r15]
mov rax, rbx
movzx esi, byte [rbp + 0x8f]
test sil, sil
jne 0x140029a07
test rbx, rbx
jne 0x140029a07
lea rcx, [r14 + 0xf8]
mov rdx, rdi
call fcn.140031490
mov qword [r15], rax
test rax, rax
jne 0x140029b5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.14002f590
nop
lea r8, [0x140083670]
cmp qword [0x140083688], 8
cmovae r8, qword [0x140083670]
mov r9, qword [0x140083680]
mov rcx, rax
call fcn.140007100
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xor ebx, ebx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9d, [rbx + 0x30]
xor r8d, r8d
lea rdx, [0x140083470]
lea rcx, [rbp - 0x31]
call fcn.140015bd0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140029acf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9f
call fcn.140036ba0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], bx
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140029b1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029ea5
call fcn.140036ba0
mov r14, qword [rsp + 0x48]
xor bl, bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140029b3a
test r14, r14
je 0x140029b3a
call fcn.140036ba0
movzx eax, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140036b80
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rsp + 0x48]
test sil, sil
jne 0x140029b70
test rbx, rbx
jne 0x140029c51
xor esi, esi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rbp - 0x51]
mov rcx, qword [rbp - 0x71]
call fcn.140015ec0
lea rbx, [rdi + r14]
lea ecx, [rsi + 0xe]
call fcn.140036e60
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], SafeArrayDestroy
mov word [rax], 0x25ff
mov dword [rax + 2], esi
mov qword [rax + 6], rbx
mov rbx, qword [rsp + 0x50]
lea r8, [rbp - 0x51]
mov rdx, qword [r15]
lea rcx, [rbx + 0xf8]
call fcn.1400312b0
movzx r12d, al
mov rdx, qword [r15]
mov rsi, qword [rbp - 0x49]
add rdx, rsi
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xf8]
call fcn.1400312b0
and r12b, al
mov rcx, qword [rsp + 0x30]
jne 0x140029c2b
test rcx, rcx
je 0x140029c0b
cmp qword [rsp + 0x38], 0
jbe 0x140029c0b
call fcn.140036ba0
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140029b24
test rsi, rsi
je 0x140029b24
call fcn.140036ba0
jmp 0x140029b24
test rcx, rcx
je 0x140029c3e
cmp qword [rsp + 0x38], 0
jbe 0x140029c3e
call fcn.140036ba0
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140029c51
test rsi, rsi
je 0x140029c51
call fcn.140036ba0
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov rsi, qword [rsp + 0x50]
mov rdx, qword [r15]
lea rcx, [rsi + 0xf8]
call fcn.140032690
mov rbx, rax
sub rbx, rdi
sub rbx, 5
mov rcx, r14
call fcn.140036e60
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], r14
mov byte [rax], 0xe9
mov dword [rax + 1], ebx
cmp r14, 6
jb 0x140029ca4
lea r8, [r14 - 5]
lea rcx, [rax + 5]
mov dl, 0x90
call fcn.140038e30
lea r8, [rbp - 0x51]
mov rdx, rdi
lea rcx, [rsi + 0xf8]
call fcn.1400312b0
test al, r12b
jne 0x140029cde
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140029b24
cmp qword [rbp - 0x49], 0
jbe 0x140029b24
call fcn.140036ba0
jmp 0x140029b24
mov r12, qword [rbp - 0x49]
mov r15, qword [rbp - 0x51]
cmp dword [r13 + 0x88], 0
jbe 0x140029e10
lea rbx, [r13 + 0xb8]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140029d08
mov qword [rbx + 8], rax
test r12, r12
je 0x140029d3c
mov rdi, r15
mov rsi, r12
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140029d28
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140029d33
mov r8, rdi
mov rcx, rbx
call fcn.140013280
inc rdi
sub rsi, 1
jne 0x140029d13
lea rbx, [r13 + 0xd0]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140029d50
mov qword [rbx + 8], rax
test r14, r14
je 0x140029d89
mov rdi, qword [rsp + 0x40]
mov rsi, r14
nop dword [rax]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140029d75
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140029d80
mov r8, rdi
mov rcx, rbx
call fcn.140013280
inc rdi
sub rsi, 1
jne 0x140029d60
mov ecx, 0x30
call fcn.140036bd4
mov rbx, rax
mov qword [rbp - 0x71], rax
mov rdx, qword [rbp - 0x61]
mov rcx, rax
call fcn.140001e60
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x20], rax
lea rax, [0x140029ec0]
mov qword [rbx + 0x28], rax
mov qword [rbp - 0x61], rbx
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400304f0]
xor edx, edx
xor ecx, ecx
call fcn.140041d08
mov qword [rbp - 0x31], rax
test rax, rax
je 0x140029e91
cmp dword [rbp - 0x29], edi
je 0x140029eab
movaps xmm0, xmmword [rbp - 0x31]
movdqa xmmword [rbp - 0x61], xmm0
lea rcx, [rbp - 0x61]
call fcn.14003617c
test eax, eax
jne 0x140029eab
test r15, r15
je 0x140029e53
test r12, r12
je 0x140029e53
mov rcx, r15
call fcn.140036ba0
jmp 0x140029e53
cmp dword [r13 + 0x88], 0
ja 0x140029b1f
lea rcx, [r14 + 0xf8]
lea r8, [rsp + 0x40]
mov rdx, rdi
call fcn.1400312b0
test al, al
je 0x140029b1f
mov r14, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x79]
movzx ebx, byte [rcx]
test bl, bl
sete al
mov byte [rcx], al
cmp byte [rbp + 0x87], 0
je 0x140029e8a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
neg bl
sbb rcx, rcx
add rcx, 0x68
mov r8d, 0x40005
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov bl, 1
jmp 0x140029b26
mov dword [rbp - 0x29], edi
mov ecx, 6
call fcn.1400360e0
nop
call fcn.14003d714
nop
call fcn.14003d714
nop
mov ecx, 1
call fcn.1400360e0
int3