Function at 0x140027900
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 [0x14007b040]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r15, r9
mov rdi, r8
mov qword [rbp - 0x71], rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x50], rax
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x48], rax
xor esi, esi
call fcn.140004e60
mov r13, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140015d40
mov rax, qword [rsp + 0x48]
cmp byte [rax], sil
jne 0x140027dc5
mov r12b, 1
mov rbx, qword [r15]
mov rax, rbx
movzx esi, byte [rbp + 0x8f]
test sil, sil
jne 0x1400279aa
test rbx, rbx
jne 0x1400279aa
lea rcx, [r14 + 0x108]
mov rdx, rdi
call fcn.1400301a0
mov qword [r15], rax
test rax, rax
jne 0x140027b00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14002cfc0
nop
lea r8, [0x14007e610]
cmp qword [0x14007e628], 7
cmova r8, qword [0x14007e610]
mov r9, qword [0x14007e620]
mov rcx, rax
call fcn.140007b70
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xor ebx, ebx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9d, [rbx + 0x30]
xor r8d, r8d
lea rdx, [0x14007e410]
lea rcx, [rbp - 0x51]
call fcn.140015a50
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140027a72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027e41
call fcn.140035420
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140027ac2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027e47
call fcn.140035420
mov r14, qword [rsp + 0x38]
xor bl, bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140027add
test r14, r14
je 0x140027add
call fcn.140035420
movzx eax, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140035400
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rsp + 0x38]
test sil, sil
jne 0x140027b13
test rbx, rbx
jne 0x140027bed
xor esi, esi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
lea rdx, [rbp - 0x51]
mov rcx, qword [rsp + 0x50]
call fcn.140015d40
lea rbx, [rdi + r14]
lea ecx, [rsi + 0xe]
call fcn.1400356d8
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], SafeArrayDestroy
mov word [rax], 0x25ff
mov dword [rax + 2], esi
mov qword [rax + 6], rbx
mov rbx, qword [rsp + 0x40]
lea r8, [rbp - 0x51]
mov rdx, qword [r15]
lea rcx, [rbx + 0x108]
call fcn.14002ffc0
movzx r12d, al
mov rdx, qword [r15]
mov rsi, qword [rbp - 0x49]
add rdx, rsi
lea r8, [rbp - 0x31]
lea rcx, [rbx + 0x108]
call fcn.14002ffc0
and r12b, al
mov rcx, qword [rbp - 0x31]
jne 0x140027bc8
test rcx, rcx
je 0x140027ba8
cmp qword [rbp - 0x29], 0
jbe 0x140027ba8
call fcn.140035420
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140027ac7
test rsi, rsi
je 0x140027ac7
call fcn.140035420
jmp 0x140027ac7
test rcx, rcx
je 0x140027bda
cmp qword [rbp - 0x29], 0
jbe 0x140027bda
call fcn.140035420
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140027bed
test rsi, rsi
je 0x140027bed
call fcn.140035420
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov rsi, qword [rsp + 0x40]
mov rdx, qword [r15]
lea rcx, [rsi + 0x108]
call fcn.1400312d0
mov rbx, rax
sub rbx, rdi
sub rbx, 5
mov rcx, r14
call fcn.1400356d8
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], r14
mov byte [rax], 0xe9
mov dword [rax + 1], ebx
cmp r14, 6
jb 0x140027c40
lea r8, [r14 - 5]
lea rcx, [rax + 5]
mov dl, 0x90
call fcn.1400577f0
lea r8, [rbp - 0x31]
mov rdx, rdi
lea rcx, [rsi + 0x108]
call fcn.14002ffc0
test al, r12b
jne 0x140027c7a
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140027ac7
cmp qword [rbp - 0x29], 0
jbe 0x140027ac7
call fcn.140035420
jmp 0x140027ac7
mov r12, qword [rbp - 0x29]
mov r15, qword [rbp - 0x31]
cmp dword [r13 + 0x88], 0
jle 0x140027db1
lea rbx, [r13 + 0xb8]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140027ca4
mov qword [rbx + 8], rax
test r12, r12
je 0x140027cd9
mov rdi, r15
mov rsi, r12
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140027cc5
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140027cd0
mov r8, rdi
mov rcx, rbx
call fcn.140013210
inc rdi
sub rsi, 1
jne 0x140027cb0
lea rbx, [r13 + 0xd0]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140027ced
mov qword [rbx + 8], rax
test r14, r14
je 0x140027d29
mov rdi, qword [rsp + 0x30]
mov rsi, r14
nop word [rax + rax]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140027d15
movzx eax, byte [rdi]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140027d20
mov r8, rdi
mov rcx, rbx
call fcn.140013210
inc rdi
sub rsi, 1
jne 0x140027d00
mov ecx, 0x30
call fcn.140035454
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x71]
mov rcx, rax
call fcn.140001fe0
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x20], rax
lea rax, [0x140027e60]
mov qword [rbx + 0x28], rax
mov qword [rbp - 0x71], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x14002d830]
xor edx, edx
xor ecx, ecx
call fcn.140040848
mov qword [rbp - 0x51], rax
test rax, rax
je 0x140027e33
cmp dword [rbp - 0x49], edi
je 0x140027e4d
movaps xmm0, xmmword [rbp - 0x51]
movdqa xmmword [rbp - 0x71], xmm0
lea rcx, [rbp - 0x71]
call fcn.140034b84
test eax, eax
jne 0x140027e4d
test r15, r15
je 0x140027df4
test r12, r12
je 0x140027df4
mov rcx, r15
call fcn.140035420
jmp 0x140027df4
cmp dword [r13 + 0x88], 0
jg 0x140027ac2
lea rcx, [r14 + 0x108]
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.14002ffc0
test al, al
je 0x140027ac2
mov r14, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
movzx ebx, byte [rcx]
test bl, bl
sete al
mov byte [rcx], al
cmp byte [rbp + 0x87], 0
je 0x140027e2c
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 0x140027ac9
mov dword [rbp - 0x49], edi
mov ecx, 6
call fcn.140034ae8
nop
call fcn.14003c24c
nop
call fcn.14003c24c
nop
mov ecx, 1
call fcn.140034ae8
int3