Function at 0x180014ab0
Capabilities:
Encode data using xor

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 - 0x650]
sub rsp, 0x750
mov rax, qword [0x180120cc0]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov qword [rbp + 0x160], rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x531]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0x60], 0x98
lea rax, [rbp + 0x530]
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x530], r15b
mov dword [rbp + 0x98], 0x104
lea rax, str.All_Files
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x8c], 1
lea rax, str.Select_a_file
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xc0], 0x1808
lea rcx, [rbp + 0x60]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
cmp eax, 1
jne 0x180015c81
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d0], xmm1
lea rax, [rbp + 0x530]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], r15b
jne 0x180014bd7
lea rdx, [rbp + 0x530]
lea rcx, [rbp + 0x1c0]
call fcn.180005a00
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], 0xf
mov byte [rbp + 0x170], 0
movups xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x1800aa1a0]
movdqa xmmword [rbp + 0x1a0], xmm1
mov byte [rbp + 0x190], 0
mov qword [rbp + 0x1b0], r15
mov rdi, qword [0x180121e08]
cmp qword [rdi + 0x300], 0
jne 0x180014c9d
mov rdx, qword [rdi + 0x2d8]
lea rcx, [rbp + 0x170]
call fcn.180011ac0
mov rcx, qword [0x180121e08]
add rcx, 0x2f0
lea rax, [rbp + 0x170]
cmp rcx, rax
je 0x180014c9d
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
call fcn.18001a300
cmp qword [rbp + 0x180], 0
jne 0x180014e37
xor sil, sil
mov rdi, qword [0x180121e08]
mov rbx, qword [rdi + 0x2d8]
mov r15, qword [rdi + 0x2e0]
cmp rbx, r15
je 0x180014d6e
mov r13, qword [rdi + 0x300]
mov r12, qword [rdi + 0x308]
nop word [rax + rax]
lea rdx, [rdi + 0x2f0]
cmp r12, 0xf
jbe 0x180014cf4
mov rdx, qword [rdi + 0x2f0]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180014d05
mov rcx, qword [rbx]
cmp r8, r13
jne 0x180014d18
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180014d18
mov sil, 1
jmp 0x180014d1d
test sil, sil
jne 0x180014d28
add rbx, 0x48
cmp rbx, r15
jne 0x180014ce0
jmp 0x180014d6e
mov rdx, rbx
lea rcx, [rbp + 0x170]
call fcn.180011ac0
mov rcx, qword [0x180121e08]
add rcx, 0x2f0
cmp rcx, rbx
je 0x180014d60
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x180014d58
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.18001a300
cmp qword [rbp + 0x180], 0
jne 0x180014e34
mov rax, qword [0x180121e08]
mov rbx, qword [rax + 0x2d8]
lea rax, [rbp + 0x170]
cmp rax, rbx
je 0x180014da5
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180014d95
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x170]
call fcn.18001a300
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x190]
cmp rax, rdx
je 0x180014dcf
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180014dc3
mov rdx, qword [rdx]
lea rcx, [rbp + 0x190]
call fcn.18001a300
mov rcx, qword [rbp + 0x1b0]
test rcx, rcx
je 0x180014de1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x40]
mov qword [rbp + 0x1b0], rcx
test rcx, rcx
je 0x180014df7
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x180121e08]
add rcx, 0x2f0
lea rax, [rbp + 0x170]
cmp rcx, rax
je 0x180014e34
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
call fcn.18001a300
xor r15d, r15d
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x140]
call fcn.180009300
nop
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.18000cd00
nop
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rcx, qword [rbp + 0x120]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800a2010
mov edx, eax
mov edi, 4
mov esi, 0x1ff
mov r12d, 0x16d
test eax, eax
jne 0x180014f13
mov ecx, dword [rbp + 0x110]
test cl, 1
mov eax, esi
cmovne eax, r12d
mov dword [rsp + 0x34], eax
bt ecx, 0xa
jae 0x180014f05
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x180014ef7
mov eax, edi
jmp 0x180014f37
cmp eax, 0xa0000003
jne 0x180014f05
mov eax, 0xa
jmp 0x180014f37
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x180014f37
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x180014f32
sub eax, 1
je 0x180014f32
sub eax, 0x32
je 0x180014f32
cmp eax, 0x46
mov eax, r15d
jne 0x180014f37
mov eax, 1
mov dword [rsp + 0x30], edx
lea r13, [0x1800cd240]
mov qword [rsp + 0x38], r13
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test eax, eax
je 0x180015081
cmp eax, 1
sete bl
lea rcx, [rbp + 0x120]
call fcn.18001a090
test bl, bl
je 0x180014fe4
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.18000cd00
nop
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rcx, qword [rbp + 0x120]
call fcn.1800a1ee4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180015d23
lea rcx, [rbp + 0x120]
call fcn.18001a090
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.18000cd00
nop
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rcx, qword [rbp + 0x120]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800a2010
mov r8d, eax
test eax, eax
jne 0x1800150ac
mov edx, dword [rbp + 0x110]
test dl, 1
mov ecx, esi
cmovne ecx, r12d
mov dword [rsp + 0x34], ecx
bt edx, 0xa
jae 0x18001509e
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x180015090
mov eax, edi
jmp 0x1800150d0
mov bl, 1
test edx, edx
jne 0x180015ccc
jmp 0x180014f60
cmp eax, 0xa0000003
jne 0x18001509e
mov eax, 0xa
jmp 0x1800150d0
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800150d0
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x1800150cb
sub eax, 1
je 0x1800150cb
sub eax, 0x32
je 0x1800150cb
cmp eax, 0x46
mov eax, r15d
jne 0x1800150d0
mov eax, 1
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x38], r13
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test eax, eax
je 0x180015204
cmp eax, 1
setne bl
lea rcx, [rbp + 0x120]
call fcn.18001a090
test bl, bl
je 0x1800159b9
movdqa xmm0, xmmword [0x1800aa1b0]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0x110], 1
mov rcx, r15
lea eax, [rcx + 0x6a]
xor byte [rbp + rcx + 0x100], al
inc rcx
cmp rcx, 0xf
jb 0x180015121
mov byte [rbp + 0x110], 0
mov r13, qword [rbp + 0x150]
lea rax, [rbp + 0x100]
mov rbx, r14
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180015150
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x180015d3b
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea r12, [rbx + r13]
mov esi, 0xf
lea r15, [rbp + 0x120]
movabs rdx, 0x8000000000000000
lea r8d, [rsi + 7]
cmp r12, rsi
jbe 0x180015255
mov rsi, r12
or rsi, 0xf
cmp rsi, rcx
jbe 0x180015214
mov rsi, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1800a28cc
test rax, rax
je 0x1800159ad
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x30]
jmp 0x18001524e
xor bl, bl
test r8d, r8d
jne 0x180015ce5
jmp 0x1800150f3
cmp rsi, r8
cmovb rsi, r8
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x180015237
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180015cfe
jmp 0x1800151e0
test rcx, rcx
je 0x18001524b
call fcn.1800a28cc
mov r15, rax
mov rax, qword [rsp + 0x30]
jmp 0x18001524e
xor r15d, r15d
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x130], r12
mov qword [rbp + 0x138], rsi
mov r8, r13
mov rdx, rax
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + r13]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + r12], 0
lea rax, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova rax, qword [rbp + 0x120]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x130]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x100]
call fcn.18000cd00
nop
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 7
cmova rcx, qword [rbp + 0x100]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x1e0]
call fcn.1800a2010
mov r8d, eax
test eax, eax
jne 0x180015344
mov edx, dword [rbp + 0x1f0]
test dl, 1
mov eax, 0x1ff
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rsp + 0x34], eax
bt edx, 0xa
jae 0x180015336
mov eax, dword [rbp + 0x1f4]
cmp eax, 0xa000000c
je 0x180015369
cmp eax, 0xa0000003
jne 0x180015336
lea edi, [r8 + 0xa]
jmp 0x180015369
movzx edi, dl
and edi, 0x10
or edi, 0x20
shr edi, 4
jmp 0x180015369
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x180015364
sub eax, 1
je 0x180015364
sub eax, 0x32
je 0x180015364
cmp eax, 0x46
je 0x180015364
xor edi, edi
jmp 0x180015369
mov edi, 1
mov dword [rsp + 0x30], r8d
lea rax, [0x1800cd240]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
je 0x180015624
cmp edi, 1
sete bl
lea rcx, [rbp + 0x100]
call fcn.18001a090
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x180015639
movdqa xmm0, xmmword [0x1800aa220]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1800aa280]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1800aa2e0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1800aa2b0]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1800aa2d0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800aa290]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1800aa2a0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1800aa2c0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1800aa270]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1800aa230]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1800aa240]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1800aa210]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [str._MTrXJBB_Z]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1800aa260]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1800aa250]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], 0x3430387d
mov dword [rbp + 0x44], 0x4f14313b
mov dword [rbp + 0x48], 0x4205160e
mov word [rbp + 0x4c], 0x100
xor edx, edx
mov ecx, edx
lea eax, [rcx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xfc
jb 0x180015493
mov byte [rbp + 0x4d], dl
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rdx
mov qword [rbp + 0x118], rdx
lea rax, [rsp + 0x50]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], dl
jne 0x1800154d0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x100]
call fcn.180005a00
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x310]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x310]
call fcn.180010090
nop
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
lea rcx, [rbp + 0x310]
call fcn.18000dc70
lea rdx, [0x18000f860]
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 + 0x318]
call fcn.18001a4c0
test rax, rax
jne 0x180015593
mov rax, qword [rbp + 0x310]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x310]
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 + 0x310]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x310], rdi
mov rax, qword [rbp + 0x310]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x30c], edx
lea rcx, [rbp + 0x318]
call fcn.180011240
lea rcx, [rbp + 0x320]
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 + 0x3b8]
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 + 0x118]
cmp rdx, 0xf
jbe 0x180015639
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x180015d04
jmp 0x180015393
call fcn.1800a26cc
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp + 0x200]
call fcn.18000fd40
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x200], rax
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1fc], edx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x420]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x4000836
mov dword [rsp + 0x34], 0x5f04010b
mov dword [rsp + 0x38], 0x15061e
mov byte [rsp + 0x3c], 1
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x6a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xb
jb 0x1800156f0
mov byte [rsp + 0x3c], 0
mov r12, qword [rbp + 0x150]
lea rax, [rsp + 0x30]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x180015714
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x180015d41
lea r13, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova r13, qword [rbp + 0x140]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
lea r15, [r12 + rbx]
mov edi, 0xf
lea rsi, [rbp + 0x100]
cmp r15, rdi
jbe 0x1800157fb
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x1800157b3
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800a28cc
test rax, rax
je 0x1800157dc
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1800157f4
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1800157e3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180015d1d
jmp 0x180015798
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800157f2
call fcn.1800a28cc
mov rsi, rax
jmp 0x1800157f4
xor esi, esi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], rdi
mov r8, r12
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r12 + rsi]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x420]
call fcn.180010090
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x180015897
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a26cc
movdqa xmm0, xmmword [0x1800aa1a0]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x420]
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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x420], rax
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x41c], edx
lea rcx, [rbp + 0x428]
call fcn.180011240
lea rcx, [rbp + 0x430]
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 + 0x4c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x200], rax
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1fc], edx
lea rcx, [rbp + 0x210]
call fcn.180011240
lea rcx, [rbp + 0x218]
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 + 0x2b0]
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 + 0x138]
cmp rdx, 0xf
jbe 0x1800159b9
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800159b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800159b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a26cc
mov rcx, qword [rbp + 0x1b0]
mov qword [rbp + 0x50], rcx
test rcx, rcx
je 0x180015b34
mov ecx, dword [0x180123958]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180121f98], ecx
jg 0x180015d47
mov rcx, qword [rbp + 0x160]
mov rdi, qword [rcx]
test rdi, rdi
jne 0x180015a1a
mov rax, qword [rbp + 0x50]
mov rdi, qword [rax]
test rdi, rdi
je 0x180015a9b
mov rdi, qword [rdi + 0x38]
mov qword [rcx], rdi
lea rax, [0x1800cd1f0]
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
lea r13, [rbp + 0x678]
movabs rax, 0x1d0164d8541d
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], r13
mov rbx, qword [r13]
xor rbx, rax
mov qword [rbp + 0x100], rbx
xor esi, esi
mov qword [r13], rsi
mov ecx, esi
lea r12, [0x18000fa70]
lea r15, [0x180000000]
mov rax, qword [0x180121fb0]
test rax, rax
je 0x180015ad3
mov edx, esi
cmp rax, r12
je 0x180015ac6
inc ecx
mov edx, ecx
mov rax, qword [r15 + rcx*8 + 0x121fb0]
test rax, rax
jne 0x180015a83
jmp 0x180015ad3
lea rcx, [rbp + 0x140]
call fcn.180004750
nop
lea rcx, [rbp + 0x170]
call fcn.1800116c0
nop
lea rcx, [rbp + 0x1c0]
call fcn.180004750
jmp 0x180015c81
mov rax, qword [r15 + rdx*8 + 0x1222d0]
test rax, rax
jne 0x180015afc
mov rcx, r12
call fcn.18001ae00
mov rdx, qword [0x180121fa0]
mov qword [r15 + rdx*8 + 0x121fb0], r12
mov qword [r15 + rdx*8 + 0x1222d0], rax
inc rdx
mov qword [0x180121fa0], rdx
lea r9, [rbp + 0x160]
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call rax
nop
movabs rcx, 0x1d0164d8541d
xor rbx, rcx
mov qword [r13], rbx
mov byte [0x180121f94], al
mov rcx, qword [rbp + 0x1b0]
jmp 0x180015b3d
movzx eax, byte [0x180121f94]
xor esi, esi
test al, al
je 0x180015b47
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rax, qword [rbp + 0x140]
mov qword [rbp + 0x160], rax
inc r14
cmp byte [rax + r14], 0
jne 0x180015b65
mov qword [rbp + 0x168], r14
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x120]
call fcn.18000cd00
nop
mov qword [rbp + 0x160], 0
lea rax, [0x1800cd240]
mov qword [rbp + 0x168], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x120]
call fcn.18001bc00
cmp dword [rbp + 0x160], 0
jne 0x180015cb1
lea rcx, [rbp + 0x120]
call fcn.18001a090
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x180015c17
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a26cc
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
lea rcx, [rbp + 0x170]
call fcn.1800116c0
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x180015c81
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015c7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a26cc
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1800a2760
lea r11, [rsp + 0x750]
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
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x160]
lea rcx, str.remove_all
call fcn.180019e80
nop
lea r8, [rbp + 0x120]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.180019e80
nop
lea r8, [rbp + 0x120]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.180019e80
nop
call fcn.180004120
nop
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x30]
lea rcx, str.exists
call fcn.180019e80
nop
call fcn.180004120
nop
shr rdx, 0x20
lea r8, [rbp + 0x120]
lea rcx, str.create_directory
call fcn.180019ee0
nop
call fcn.180008b60
nop
call fcn.180008b60
nop
lea rcx, [0x180121f98]
call fcn.1800a2854
cmp dword [0x180121f98], 0xffffffff
jne 0x1800159f4
lea rcx, [0x1800a7020]
call fcn.1800a2ce0
lea rcx, [0x180121f98]
call fcn.1800a27e8
jmp 0x1800159f4