Function at 0x1400082d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x14004c028]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r14, rcx
mov qword [rbp - 0x40], rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x30], r15d
cmp byte [rcx + 0x80], r15b
je 0x1400083d0
lea rcx, [rbp + 0x70]
call fcn.140007e10
nop
mov esi, 1
mov dword [rsp + 0x30], esi
mov r8d, esi
lea rdx, [0x140041f40]
mov rcx, rax
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
bts esi, 0xa
or esi, 2
mov dword [rsp + 0x30], esi
mov rdi, qword [rbp - 0x70]
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
call fcn.1400392c0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rdi
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.1400043e0
or esi, 0x1800
or esi, 4
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x18]
call fcn.140005d80
test al, al
jne 0x1400083d0
mov bl, 1
jmp 0x1400083d2
xor bl, bl
test sil, 4
je 0x140008430
and esi, 0xfffffffb
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14000841e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008419
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c70]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r15w
test sil, 2
je 0x140008488
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140008477
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
test sil, 1
je 0x1400084e6
and esi, 0xfffffffe
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400084d2
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
test bl, bl
je 0x140009552
mov byte [0x14005a032], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rax
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea r8d, [rax + 0x1d]
lea rdx, str.My_GamesRainbow_Six___Siege
lea rcx, [rbp + 0x90]
call fcn.140002100
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140007cd0
lea rax, [rsp + 0x68]
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
mov rbx, qword [rsp + 0x68]
mov qword [rbp + 0x218], rbx
mov qword [rbp + 0x220], rbx
lea rax, [rsp + 0x68]
mov qword [rbp + 0x228], rax
lea rdx, [rbp + 0x90]
mov rcx, rbx
call fcn.140001d00
add rbx, 0x20
mov qword [rbp + 0x220], rbx
mov rdx, rbx
mov rcx, rbx
call fcn.140007d70
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x200]
call fcn.140007820
nop
lea r9, [fcn.140001c60]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x90]
call fcn.140039df4
mov rax, qword [rbp + 0x208]
cmp qword [rbp + 0x200], rax
je 0x14000953f
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x450]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xb0]
call fcn.140007e10
nop
mov r8d, 1
lea rdx, [0x140041f40]
mov rcx, rax
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 0xd
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x450]
call fcn.14000ed70
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400086a6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400086fb
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
movdqa xmm0, xmmword [0x140042c80]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp + 0x150]
call fcn.140001d00
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000873a
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x38]
call fcn.1400018a0
bts esi, 0x11
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140008781
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000877c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400087ec
mov rcx, r8
call fcn.140039c44
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
bts esi, 0x10
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x450]
call fcn.140011ea0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400087f8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
lea rcx, [rbp + 0x458]
call fcn.1400103b0
test rax, rax
jne 0x14000882b
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x450]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rbx, qword [rbp + 0x200]
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140008840
mov rbx, qword [rbx]
call fcn.1400392c0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rdi
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp + 0xd0]
call fcn.1400043e0
or esi, 0xc000
mov dword [rsp + 0x30], esi
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x1e0]
call fcn.140005ad0
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x1400088c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400088c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov rbx, qword [rbp + 0x1e8]
test rbx, rbx
je 0x1400088e4
lock inc dword [rbx + 8]
mov esi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x1d0], xmm0
mov rbx, qword [rbp + 0x1e8]
test rbx, rbx
je 0x140008907
lock inc dword [rbx + 8]
mov esi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
mov rdi, 0xffffffffffffffff
mov rbx, qword [rbp + 0x1e8]
test rbx, rbx
je 0x140008952
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000894e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000894e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rsp + 0x30]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov rax, qword [rbp + 0x1d0]
test rax, rax
je 0x140009438
mov r13d, 0x16
mov r14, qword [rbp + 0x1f0]
mov qword [rsp + 0x40], r14
nop dword [rax + rax]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 8
jb 0x14000898f
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rax
call fcn.1400392c0
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x120], xmm0
lea r8, [rbp + 0x120]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400129f0
or esi, 0x38
mov r8d, 0x11
lea rdx, str.GameSettings.ini
lea rcx, [rbp + 8]
call fcn.1400106a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1c0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 0x40
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140008a51
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000956c
call fcn.140039c44
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdi, qword [rbp + 0x1c0]
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rbx, qword [rbp + 0x1b0]
call fcn.1400392c0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rdi
lea r8, [rbp + 0x60]
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.1400043e0
or esi, 0x180
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0xf0]
call fcn.140005d80
test al, al
sete bl
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x140008b03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008afe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009573
call fcn.140039c44
test bl, bl
jne 0x1400093d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], r15
xor r8d, r8d
lea rdx, [0x14003dc11]
lea rcx, [rbp + 0x190]
call fcn.140002100
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rdx, qword [rbp + 0x1b0]
mov r8d, 1
lea rcx, [rbp + 0x340]
call fcn.14000fac0
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x340], rdi
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x33c], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r15
xor r8d, r8d
lea rdx, [0x14003dc11]
lea rcx, [rbp + 0x170]
call fcn.140002100
nop
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x340]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x340]
call fcn.140012060
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000907b
nop
lea rcx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0x10
setae r12b
mov r15, qword [rbp + 0x170]
cmovae rcx, r15
mov qword [rsp + 0x20], 0xa
lea r9, str.DefaultFOV
mov rsi, qword [rbp + 0x180]
mov rdx, rsi
call fcn.1400111e0
cmp rax, 0xffffffffffffffff
je 0x140008c88
mov r8d, 0x15
lea rdx, str.DefaultFOV90.000000_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
lea rcx, [rbp + 0x170]
test r12b, r12b
cmovne rcx, r15
mov qword [rsp + 0x20], 0x13
lea r9, str.MouseYawSensitivity
mov rdx, rsi
call fcn.1400111e0
cmp rax, 0xffffffffffffffff
je 0x140008cd9
mov r8d, 0x17
lea rdx, str.MouseYawSensitivity10_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
lea rcx, [rbp + 0x170]
test r12b, r12b
cmovne rcx, r15
mov qword [rsp + 0x20], 0x15
lea r9, str.MousePitchSensitivity
mov rdx, rsi
call fcn.1400111e0
cmp rax, 0xffffffffffffffff
je 0x140008d2a
mov r8d, 0x19
lea rdx, str.MousePitchSensitivity10_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
lea rcx, [rbp + 0x170]
test r12b, r12b
cmovne rcx, r15
mov qword [rsp + 0x20], 0x13
lea r9, str.ADSMouseUseSpecific
mov rdx, rsi
call fcn.1400111e0
cmp rax, 0xffffffffffffffff
je 0x140008d78
mov r8, r13
lea rdx, str.ADSMouseUseSpecific0_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
lea rdi, [rbp + 0x170]
test r12b, r12b
cmovne rdi, r15
cmp rsi, 0x19
jb 0x140008dec
lea r14, [rsi + rdi]
lea r8, [r14 - 0x18]
sub r8, rdi
mov edx, 0x41
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140008dec
nop dword [rax]
mov r8d, 0x19
lea rdx, str.ADSMouseSensitivityGlobal
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140008ec1
inc rbx
lea r8, [r14 - 0x18]
sub r8, rbx
mov edx, 0x41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140008db0
lea rdi, [rbp + 0x170]
test r12b, r12b
cmovne rdi, r15
cmp rsi, 0xa
jb 0x140008e5c
lea r14, [rsi + rdi]
lea r8, [r14 - 9]
sub r8, rdi
mov edx, 0x42
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140008e5c
mov r8d, 0xa
lea rdx, str.Brightness
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140008ef3
inc rbx
lea r8, [r14 - 9]
sub r8, rbx
mov edx, 0x42
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140008e20
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x1400095ea
lea r13, [rbp + 0x170]
test r12b, r12b
cmovne r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r14, [rsi + 1]
mov edi, 0xf
lea rbx, [rsp + 0x48]
cmp r14, rdi
jbe 0x140008f90
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140008f25
mov rdi, rcx
jmp 0x140008f32
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x140008dec
mov r8d, 0x1e
lea rdx, str.ADSMouseSensitivityGlobal100_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x140008e5c
mov r8d, 0xe
lea rdx, str.Brightness65_n
lea rcx, [rbp + 0x190]
call fcn.1400106a0
mov esi, dword [rsp + 0x38]
xor r15d, r15d
jmp 0x140009022
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140008f79
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400095f0
mov rcx, rax
call fcn.140039c00
test rax, rax
je 0x14000957a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140008f8b
test rcx, rcx
je 0x140008f88
call fcn.140039c00
mov rbx, rax
jmp 0x140008f8b
mov rbx, r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rdi
mov r8, rsi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0xa
mov byte [rbx + r14], r15b
mov esi, dword [rsp + 0x38]
bts esi, 0x12
mov dword [rsp + 0x38], esi
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp + 0x190]
call fcn.1400106a0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000901c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000957a
call fcn.140039c44
mov r13d, 0x16
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x340]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x340]
call fcn.140012060
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140008c20
mov r14, qword [rsp + 0x40]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x350]
call fcn.1400103b0
test rax, rax
jne 0x1400090ae
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x340]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x230]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0x10
cmovae rbx, qword [rbp + 0x1b0]
lea rax, [0x140042778]
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts esi, 9
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
lea rax, [rbp + 0x238]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x238]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x238], rax
mov byte [rbp + 0x2b4], 0
mov byte [rbp + 0x2a9], 0
lea rcx, [rbp + 0x238]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x2b8], r15
mov rax, qword [0x1400a7560]
mov qword [rbp + 0x2ac], rax
mov qword [rbp + 0x2a0], r15
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x238]
call fcn.140010460
test rax, rax
jne 0x1400091df
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rdx, qword [rbp + 0x190]
mov r8, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x230]
call fcn.140011ea0
lea rdx, [0x140010d00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x238]
call fcn.1400103b0
test rax, rax
jne 0x140009278
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
lea rcx, [rbp + 0x238]
call fcn.14000fa50
lea rcx, [rbp + 0x240]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x14000930b
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009306
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009581
call fcn.140039c44
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], 0xf
mov byte [rbp + 0x170], 0
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x340], rdi
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x33c], edx
lea rcx, [rbp + 0x350]
call fcn.14000fa50
lea rcx, [rbp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x1400093b7
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009588
call fcn.140039c44
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], 0xf
mov byte [rbp + 0x190], 0
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0x10
jb 0x140009411
inc rdx
mov rcx, qword [rbp + 0x1b0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000940c
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000958f
call fcn.140039c44
lea rcx, [rbp + 0x1d0]
call fcn.140005c30
mov rax, qword [rbp + 0x1d0]
cmp rax, r14
jne 0x140008980
mov rdi, 0xffffffffffffffff
mov r14, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
je 0x140009479
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140009479
mov rbx, qword [rbp + 0x1f8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009479
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
je 0x1400094ba
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400094ba
mov rbx, qword [rbp + 0x1d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400094ba
mov rcx, qword [rbp + 0x1d8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x1e8]
test rbx, rbx
je 0x1400094ee
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400094ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400094ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x450], r12
mov rax, qword [rbp + 0x450]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x44c], edx
lea rcx, [rbp + 0x458]
call fcn.14000fa50
lea rcx, [rbp + 0x460]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x4f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov byte [0x14005a032], 1
lea rcx, [rbp + 0x200]
call fcn.14000ffd0
mov rax, qword [0x1400a7320]
mov ecx, dword [r14 + 0x70]
call rax
test eax, eax
je 0x140009596
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r9d, r9d
lea r8, str.notice
lea rdx, str.module_failed_to_inject
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [r14 + 0x78]
mov qword [0x1400a72e8], rax
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140039be0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001840
nop
call fcn.1400017a0
int3