Function at 0x140012ec0
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.1400047f0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 1]
call fcn.140005c70
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140012f76
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012f71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d00
mov rdx, qword [rbp + 7]
sub rdx, qword [rbp - 1]
lea r9, [rbp - 0x59]
mov r8d, 0x40
lea rcx, [fcn.140012eb0]
call qword [sym.imp.KERNEL32.dll_Beep_2]
mov r8, qword [rbp + 7]
mov rdx, qword [rbp - 1]
sub r8, rdx
lea rcx, [fcn.140012eb0]
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, 0xb50
mov eax, dword [rcx + rdi]
mov ebx, 0xae0
test al, 1
jne 0x14001303d
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, [0x140018180]
call fcn.140014244
nop
add rbx, rdi
cmp byte [rbx + 9], 0
je 0x14001306d
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, 0xac4
mov eax, dword [rcx + rdi]
mov esi, 0xb80
test al, 1
jne 0x1400130ac
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, [0x1400181a0]
call fcn.140014244
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xa], 0
je 0x1400130e1
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, [0x140012cc0]
call qword [sym.imp.KERNEL32.dll_Beep_5]
mov ecx, 0x10
call fcn.140013d08
mov rbx, rax
mov qword [rbp - 9], rax
mov ecx, 1
call fcn.140013d08
mov qword [rbp - 0x11], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013b90]
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 0x1400138ce
movdqa xmm0, xmmword [0x14001a9d0]
mov dword [rbp - 0x21], 0x56ee2593
mov dword [rbp - 0x1d], 0xfde4ff8f
mov dword [rbp - 0x19], 0x39f53497
mov ecx, 0xb7c
mov eax, dword [rcx + rdi]
mov ebx, 0xb20
test al, 1
jne 0x1400131fb
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 0x1400131db
lea rdx, [rbp - 0x31]
cmp rax, rdx
jb 0x1400131db
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 0x1400131ee
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, [0x140018120]
call fcn.140014244
nop
add rbx, rdi
cmp byte [rbx + 0x1c], 0
je 0x140013277
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, 0xb8c
mov eax, dword [rcx + rdi]
mov esi, 0xac8
test al, 1
jne 0x1400132ba
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, [0x140018150]
call fcn.140014244
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xf], 0
je 0x140013303
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 [0x14001a9c0]
mov dword [rbp - 0x41], 0xc1a9be7e
mov dword [rbp - 0x3d], 0xdbe5c4a0
mov dword [rbp - 0x39], 0xd9bdb57c
mov word [rbp - 0x35], 0xd9ac
mov ecx, 0xba0
mov eax, dword [rcx + rdi]
mov ebx, 0xaf0
test al, 1
jne 0x1400133d3
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 0x1400133a7
lea rdx, [rbp - 0x51]
cmp rax, rdx
jb 0x1400133a7
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 0x1400133c6
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, [0x1400180d0]
call fcn.140014244
nop
add rbx, rdi
cmp byte [rbx + 0x1f], 0
je 0x14001345b
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, 0xb1c
mov eax, dword [rcx + rdi]
mov esi, 0xb10
test al, 1
jne 0x14001349a
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, [0x140018100]
call fcn.140014244
nop
lea rcx, [rdi + rsi]
cmp byte [rcx + 0xa], 0
je 0x1400134cf
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, 0xb64
mov ecx, dword [rax + rdi]
mov ebx, 0xb90
test cl, 1
jne 0x140013542
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, [0x140018090]
call fcn.140014244
nop
add rbx, rdi
cmp byte [rbx + 0xe], 0
je 0x140013586
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, 0xac0
mov eax, dword [rcx + rdi]
mov esi, 0xb58
test al, 1
jne 0x1400135c5
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, [0x1400180b0]
call fcn.140014244
nop
lea rcx, [rdi + rsi]
cmp byte [rcx + 0xa], 0
je 0x1400135fa
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, 0xb4c
mov ecx, dword [rax + rdi]
mov ebx, 0xb68
test cl, 1
jne 0x14001368e
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 0x140013676
lea rdx, [rbp + 0x17]
cmp rax, rdx
jb 0x140013676
movups xmmword [rcx], xmm0
movzx eax, word [rbp + 0x27]
mov word [rcx + 0x10], ax
jmp 0x140013681
movups xmmword [rcx], xmm0
movzx eax, word [rbp + 0x27]
mov word [rcx + 0x10], ax
lea rcx, [0x140018050]
call fcn.140014244
nop
add rbx, rdi
cmp byte [rbx + 0x12], 0
je 0x1400136e2
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, 0xad8
mov eax, dword [rcx + rdi]
mov esi, 0xb40
test al, 1
jne 0x140013721
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, [0x140018070]
call fcn.140014244
nop
lea rcx, [rsi + rdi]
cmp byte [rcx + 0xa], 0
je 0x140013756
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.140013d08
mov rbx, rax
mov qword [rbp - 0x11], rax
mov ecx, 1
call fcn.140013d08
mov qword [rbp - 9], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013bc0]
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 0x1400138bf
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.140012dd0
mov ecx, 0x10
call fcn.140013d08
mov rbx, rax
mov qword [rbp - 0x11], rax
mov ecx, 1
call fcn.140013d08
mov qword [rbp - 9], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140013bf0]
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 0x1400138b0
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140013883
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001387e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001387e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d00
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140013ce0
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