Function at 0x140012d70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r13d, r13d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r8d, [r13 + 0x17]
lea rdx, str.F2_0F_38_F1_CA_8B_C1_C3
lea rcx, [rsp + 0x30]
call fcn.1400046a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 1]
call fcn.140005b20
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140012e26
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013bb0
mov rdx, qword [rbp + 7]
sub rdx, qword [rbp - 1]
lea r9, [rbp - 0x59]
mov r8d, 0x40
lea rcx, [fcn.140012d60]
call qword [sym.imp.KERNEL32.dll_Beep_2]
mov r8, qword [rbp + 7]
mov rdx, qword [rbp - 1]
sub r8, rdx
lea rcx, [fcn.140012d60]
call sub.VCRUNTIME140.dll_strchr_1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Beep]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x18
lea r8, [0x140021fc8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rcx, qword [0x140021fc8]
add rcx, 0x1000
mov r8d, 0x30
lea rdx, [0x140021f98]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0xb40
mov eax, dword [rcx + rdi]
mov ebx, 0xad0
test al, 1
jne 0x140012eed
or eax, 1
mov dword [rcx + rdi], eax
mov dword [rdi + rbx + 6], 0x123bfbc
mov dword [rdi + rbx], 0x3e134971
mov word [rdi + rbx + 4], 0x620f
lea rcx, [0x140017fe0]
call fcn.1400140f4
nop
add rbx, rdi
cmp byte [rbx + 9], 0
je 0x140012f1d
xor byte [rbx], 0x23
xor byte [rbx + 1], 0x3d
xor byte [rbx + 2], 0x7f
xor byte [rbx + 3], 0x7d
xor byte [rbx + 4], 0x7d
xor byte [rbx + 5], 1
xor byte [rbx + 6], 0x8f
xor byte [rbx + 7], 0x8d
xor byte [rbx + 8], 0x23
mov byte [rbx + 9], 0
mov ecx, 0xab4
mov eax, dword [rcx + rdi]
mov esi, 0xb70
test al, 1
jne 0x140012f5c
or eax, 1
mov dword [rcx + rdi], eax
mov word [rdi + rsi + 9], 0x13d
mov dword [rdi + rsi], 0x111b494d
mov dword [rdi + rsi + 4], 0xe1eb2f11
mov byte [rdi + rsi + 8], 0x4f
lea rcx, [0x140018000]
call fcn.1400140f4
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xa], 0
je 0x140012f91
xor byte [rcx], 0x23
xor byte [rcx + 1], 0x3d
xor byte [rcx + 2], 0x7f
xor byte [rcx + 3], 0x7d
xor byte [rcx + 4], 0x7d
xor byte [rcx + 5], 1
xor byte [rcx + 6], 0x8f
xor byte [rcx + 7], 0x8d
xor byte [rcx + 8], 0x23
xor byte [rcx + 9], 0x3d
mov byte [rcx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Beep_1]
mov qword [0x140021fe8], rax
mov rdx, qword [0x140021fb0]
add rdx, 0x1000
xor r8d, r8d
mov rcx, qword [0x140021fc8]
call rax
mov dword [0x140021fe0], eax
lea rcx, [0x140012b70]
call qword [sym.imp.KERNEL32.dll_Beep_5]
mov ecx, 0x10
call fcn.140013bb8
mov rbx, rax
mov qword [rbp - 9], rax
mov ecx, 1
call fcn.140013bb8
mov qword [rbp - 0x11], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013a40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14001377e
movdqa xmm0, xmmword [0x14001a8c0]
mov dword [rbp - 0x21], 0x56ee2593
mov dword [rbp - 0x1d], 0xfde4ff8f
mov dword [rbp - 0x19], 0x39f53497
mov ecx, 0xb6c
mov eax, dword [rcx + rdi]
mov ebx, 0xb10
test al, 1
jne 0x1400130ab
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rbx]
mov byte [rcx + 0x1c], 1
lea rax, [rcx + 0x1b]
lea rdx, [rbp - 0x16]
cmp rcx, rdx
ja 0x14001308b
lea rdx, [rbp - 0x31]
cmp rax, rdx
jb 0x14001308b
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x21]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x19]
mov dword [rcx + 0x18], eax
jmp 0x14001309e
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x21]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x19]
mov dword [rcx + 0x18], eax
lea rcx, [0x140017f80]
call fcn.1400140f4
nop
add rbx, rdi
cmp byte [rbx + 0x1c], 0
je 0x140013127
xor byte [rbx], 0xe3
xor byte [rbx + 1], 0x51
xor byte [rbx + 2], 0x87
xor byte [rbx + 3], 0x39
xor byte [rbx + 4], 0xe1
xor byte [rbx + 5], 0xb9
xor byte [rbx + 6], 0x8d
xor byte [rbx + 7], 0x91
xor byte [rbx + 8], 0xe3
xor byte [rbx + 9], 0x51
xor byte [rbx + 0xa], 0x87
xor byte [rbx + 0xb], 0x39
xor byte [rbx + 0xc], 0xe1
xor byte [rbx + 0xd], 0xb9
xor byte [rbx + 0xe], 0x8d
xor byte [rbx + 0xf], 0x91
xor byte [rbx + 0x10], 0xe3
xor byte [rbx + 0x11], 0x51
xor byte [rbx + 0x12], 0x87
xor byte [rbx + 0x13], 0x39
xor byte [rbx + 0x14], 0xe1
xor byte [rbx + 0x15], 0xb9
xor byte [rbx + 0x16], 0x8d
xor byte [rbx + 0x17], 0x91
xor byte [rbx + 0x18], 0xe3
xor byte [rbx + 0x19], 0x51
xor byte [rbx + 0x1a], 0x87
xor byte [rbx + 0x1b], 0x39
mov byte [rbx + 0x1c], 0
mov ecx, 0xb7c
mov eax, dword [rcx + rdi]
mov esi, 0xab8
test al, 1
jne 0x14001316a
or eax, 1
mov dword [rcx + rdi], eax
mov dword [rdi + rsi + 0xc], 0x18dd58d
mov dword [rdi + rsi], 0x77d514a8
mov dword [rdi + rsi + 4], 0xd0cff5a4
mov dword [rdi + rsi + 8], 0x5da914b0
lea rcx, [0x140017fb0]
call fcn.1400140f4
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xf], 0
je 0x1400131b3
xor byte [rcx], 0xe3
xor byte [rcx + 1], 0x51
xor byte [rcx + 2], 0x87
xor byte [rcx + 3], 0x39
xor byte [rcx + 4], 0xe1
xor byte [rcx + 5], 0xb9
xor byte [rcx + 6], 0x8d
xor byte [rcx + 7], 0x91
xor byte [rcx + 8], 0xe3
xor byte [rcx + 9], 0x51
xor byte [rcx + 0xa], 0x87
xor byte [rcx + 0xb], 0x39
xor byte [rcx + 0xc], 0xe1
xor byte [rcx + 0xd], 0xb9
xor byte [rcx + 0xe], 0x8d
mov byte [rcx + 0xf], 0
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Beep_1]
mov r12, rax
lea r9, [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 0x3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Beep_2]
movdqa xmm0, xmmword [0x14001a8b0]
mov dword [rbp - 0x41], 0xc1a9be7e
mov dword [rbp - 0x3d], 0xdbe5c4a0
mov dword [rbp - 0x39], 0xd9bdb57c
mov word [rbp - 0x35], 0xd9ac
mov ecx, 0xb90
mov eax, dword [rcx + rdi]
mov ebx, 0xae0
test al, 1
jne 0x140013283
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rbx]
mov byte [rcx + 0x1f], 1
lea rax, [rcx + 0x1e]
lea rdx, [rbp - 0x33]
cmp rcx, rdx
ja 0x140013257
lea rdx, [rbp - 0x51]
cmp rax, rdx
jb 0x140013257
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x41]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x39]
mov dword [rcx + 0x18], eax
movzx eax, word [rbp - 0x35]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], 0x8b
jmp 0x140013276
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp - 0x41]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp - 0x39]
mov dword [rcx + 0x18], eax
movzx eax, word [rbp - 0x35]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], 0x8b
lea rcx, [0x140017f30]
call fcn.1400140f4
nop
add rbx, rdi
cmp byte [rbx + 0x1f], 0
je 0x14001330b
xor byte [rbx], 0x1d
xor byte [rbx + 1], 0xdb
xor byte [rbx + 2], 0xd9
xor byte [rbx + 3], 0xb5
xor byte [rbx + 4], 0xc9
xor byte [rbx + 5], 0xab
xor byte [rbx + 6], 0x8b
xor byte [rbx + 7], 0x93
xor byte [rbx + 8], 0x1d
xor byte [rbx + 9], 0xdb
xor byte [rbx + 0xa], 0xd9
xor byte [rbx + 0xb], 0xb5
xor byte [rbx + 0xc], 0xc9
xor byte [rbx + 0xd], 0xab
xor byte [rbx + 0xe], 0x8b
xor byte [rbx + 0xf], 0x93
xor byte [rbx + 0x10], 0x1d
xor byte [rbx + 0x11], 0xdb
xor byte [rbx + 0x12], 0xd9
xor byte [rbx + 0x13], 0xb5
xor byte [rbx + 0x14], 0xc9
xor byte [rbx + 0x15], 0xab
xor byte [rbx + 0x16], 0x8b
xor byte [rbx + 0x17], 0x93
xor byte [rbx + 0x18], 0x1d
xor byte [rbx + 0x19], 0xdb
xor byte [rbx + 0x1a], 0xd9
xor byte [rbx + 0x1b], 0xb5
xor byte [rbx + 0x1c], 0xc9
xor byte [rbx + 0x1d], 0xab
xor byte [rbx + 0x1e], 0x8b
mov byte [rbx + 0x1f], 0
mov ecx, 0xb0c
mov eax, dword [rcx + rdi]
mov esi, 0xb00
test al, 1
jne 0x14001334a
or eax, 1
mov dword [rcx + rdi], eax
mov word [rdi + rsi + 9], 0x1db
mov dword [rdi + rsi], 0xd9bdaf73
mov dword [rdi + rsi + 4], 0xffef85a5
mov byte [rdi + rsi + 8], 0x71
lea rcx, [0x140017f60]
call fcn.1400140f4
nop
lea rcx, [rdi + rsi]
cmp byte [rcx + 0xa], 0
je 0x14001337f
xor byte [rcx], 0x1d
xor byte [rcx + 1], 0xdb
xor byte [rcx + 2], 0xd9
xor byte [rcx + 3], 0xb5
xor byte [rcx + 4], 0xc9
xor byte [rcx + 5], 0xab
xor byte [rcx + 6], 0x8b
xor byte [rcx + 7], 0x93
xor byte [rcx + 8], 0x1d
xor byte [rcx + 9], 0xdb
mov byte [rcx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Beep_1]
mov r15, rax
lea r9, [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 0x3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Beep_2]
mov eax, 0xb54
mov ecx, dword [rax + rdi]
mov ebx, 0xb80
test cl, 1
jne 0x1400133f2
or ecx, 1
mov dword [rax + rdi], ecx
mov word [rdi + rbx + 0xd], 0x1df
mov dword [rdi + rbx], 0xa778cb33
mov dword [rdi + rbx + 4], 0x23eba23
mov dword [rdi + rbx + 8], 0x8b76c627
mov byte [rdi + rbx + 0xc], 0x25
lea rcx, [0x140017ef0]
call fcn.1400140f4
nop
add rbx, rdi
cmp byte [rbx + 0xe], 0
je 0x140013436
xor byte [rbx], 0x77
xor byte [rbx + 1], 0xa9
xor byte [rbx + 2], 0x1f
xor byte [rbx + 3], 0xe5
xor byte [rbx + 4], 0x51
xor byte [rbx + 5], 0xdf
xor byte [rbx + 6], 0x5f
xor byte [rbx + 7], 0x69
xor byte [rbx + 8], 0x77
xor byte [rbx + 9], 0xa9
xor byte [rbx + 0xa], 0x1f
xor byte [rbx + 0xb], 0xe5
xor byte [rbx + 0xc], 0x51
xor byte [rbx + 0xd], 0xdf
mov byte [rbx + 0xe], 0
mov ecx, 0xab0
mov eax, dword [rcx + rdi]
mov esi, 0xb48
test al, 1
jne 0x140013475
or eax, 1
mov dword [rcx + rdi], eax
mov word [rdi + rsi + 9], 0x1a9
mov dword [rdi + rsi], 0x897bdd19
mov dword [rdi + rsi + 4], 0x53bf13d
mov byte [rdi + rsi + 8], 0x1b
lea rcx, [0x140017f10]
call fcn.1400140f4
nop
lea rcx, [rdi + rsi]
cmp byte [rcx + 0xa], 0
je 0x1400134aa
xor byte [rcx], 0x77
xor byte [rcx + 1], 0xa9
xor byte [rcx + 2], 0x1f
xor byte [rcx + 3], 0xe5
xor byte [rcx + 4], 0x51
xor byte [rcx + 5], 0xdf
xor byte [rcx + 6], 0x5f
xor byte [rcx + 7], 0x69
xor byte [rcx + 8], 0x77
xor byte [rcx + 9], 0xa9
mov byte [rcx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Beep_1]
mov r14, rax
lea r9, [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 0x3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Beep_2]
movdqa xmm0, xmmword [str._tj6_]
mov word [rbp + 0x27], 0x6b13
mov eax, 0xb3c
mov ecx, dword [rax + rdi]
mov ebx, 0xb58
test cl, 1
jne 0x14001353e
or ecx, 1
mov dword [rax + rdi], ecx
lea rcx, [rdi + rbx]
mov byte [rcx + 0x12], 1
lea rax, [rcx + 0x11]
lea rdx, [rbp + 0x28]
cmp rcx, rdx
ja 0x140013526
lea rdx, [rbp + 0x17]
cmp rax, rdx
jb 0x140013526
movups xmmword [rcx], xmm0
movzx eax, word [rbp + 0x27]
mov word [rcx + 0x10], ax
jmp 0x140013531
movups xmmword [rcx], xmm0
movzx eax, word [rbp + 0x27]
mov word [rcx + 0x10], ax
lea rcx, [0x140017eb0]
call fcn.1400140f4
nop
add rbx, rdi
cmp byte [rbx + 0x12], 0
je 0x140013592
xor byte [rbx], 0x67
xor byte [rbx + 1], 0x6b
xor byte [rbx + 2], 0xd
xor byte [rbx + 3], 0x73
xor byte [rbx + 4], 0x45
xor byte [rbx + 5], 0xa9
xor byte [rbx + 6], 0xf7
xor byte [rbx + 7], 0x67
xor byte [rbx + 8], 0x67
xor byte [rbx + 9], 0x6b
xor byte [rbx + 0xa], 0xd
xor byte [rbx + 0xb], 0x73
xor byte [rbx + 0xc], 0x45
xor byte [rbx + 0xd], 0xa9
xor byte [rbx + 0xe], 0xf7
xor byte [rbx + 0xf], 0x67
xor byte [rbx + 0x10], 0x67
xor byte [rbx + 0x11], 0x6b
mov byte [rbx + 0x12], 0
mov ecx, 0xac8
mov eax, dword [rcx + rdi]
mov esi, 0xb30
test al, 1
jne 0x1400135d1
or eax, 1
mov dword [rcx + rdi], eax
mov word [rdi + rsi + 9], 0x16b
mov dword [rdi + rsi], 0x1f691f09
mov dword [rdi + rsi + 4], 0xb938729
mov byte [rdi + rsi + 8], 0xb
lea rcx, [0x140017ed0]
call fcn.1400140f4
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xa], 0
je 0x140013606
xor byte [rcx], 0x67
xor byte [rcx + 1], 0x6b
xor byte [rcx + 2], 0xd
xor byte [rcx + 3], 0x73
xor byte [rcx + 4], 0x45
xor byte [rcx + 5], 0xa9
xor byte [rcx + 6], 0xf7
xor byte [rcx + 7], 0x67
xor byte [rcx + 8], 0x67
xor byte [rcx + 9], 0x6b
mov byte [rcx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_Beep_1]
mov rbx, rax
lea r9, [rbp - 0x59]
mov edx, 1
lea r8d, [rdx + 0x3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Beep_2]
mov byte [r12], 0xcc
mov byte [r15], 0xcc
mov byte [r14], 0xc3
mov byte [rbx], 0xc3
mov ecx, 0x10
call fcn.140013bb8
mov rbx, rax
mov qword [rbp - 0x11], rax
mov ecx, 1
call fcn.140013bb8
mov qword [rbp - 9], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14001376f
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Invulnerable_void_::_2::_lambda_13___void__unsigned_long_int_.0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x61], rax
lea rcx, [rsp + 0x30]
call fcn.140012c80
mov ecx, 0x10
call fcn.140013bb8
mov rbx, rax
mov qword [rbp - 0x11], rax
mov ecx, 1
call fcn.140013bb8
mov qword [rbp - 9], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013aa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140013760
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140013733
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001372e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001372e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013bb0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140013b90
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rdi], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rdi], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsi], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3