Function at 0x14008e4f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
xor r12d, r12d
call fcn.140088d70
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], r12b
jne 0x14008e535
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14005b320
nop
movdqa xmm0, xmmword [0x1400e6da0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xf0e000b
mov dword [rsp + 0x54], 0x3180047
mov word [rsp + 0x58], 3
mov byte [rsp + 0x5a], 1
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx + 0x55]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x19
jb 0x14008e580
mov byte [rsp + 0x5a], 0
lea rax, [rsp + 0x40]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008e5a0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140058ad0
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.14008dda0
nop
mov qword [rbp + 0x20], r12
mov edx, 2
lea rcx, [rbp]
call fcn.140083860
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x220]
call fcn.140087290
cmp dword [rax], 1
seta bl
lea rcx, [rbp]
call fcn.140058840
test bl, bl
je 0x14008ece8
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x70]
call fcn.14008fc40
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x6c], edx
cmp qword [rbp + 0x100], 0
je 0x14008ec9b
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], select
mov byte [rbp - 0x80], 0
movups xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x1400e6a80]
movdqu xmmword [rbp + 0x38], xmm1
mov byte [rbp + 0x28], 0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
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 - 0x80]
lea rcx, [rbp + 0x70]
call fcn.14008fd50
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14008e717
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x28]
call fcn.140058ad0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
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 - 0x80]
lea rcx, [rbp + 0x70]
call fcn.14008fd50
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x14008e6c0
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x1d8], r12
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x180]
call fcn.140056980
mov r8, rax
lea rdx, [rbp]
call fcn.1400452a0
nop
lea r8, [rbp + 0x1a0]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14005a660
nop
lea rcx, [rbp]
call fcn.1400588c0
mov dword [rsp + 0x30], 0x21372225
mov dword [rsp + 0x34], 0x323b343a
mov word [rsp + 0x38], pe_nt_image_headers64
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x14008e790
mov byte [rsp + 0x39], 0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140055e30
cmp byte [rsp + 0x40], 1
jne 0x14008e88a
mov rax, qword [rsp + 0x48]
mov r13, qword [rax]
mov rdi, qword [r13 + 8]
mov r15, r13
cmp byte [rdi + 0x19], 0
jne 0x14008e82d
nop dword [rax]
nop word [rax + rax]
lea rcx, [rdi + 0x20]
lea rax, [rsp + 0x30]
mov rbx, r14
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e7f0
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008e807
mov rcx, qword [rcx]
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008e873
js 0x14008e878
mov r15, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14008e7e0
cmp byte [r15 + 0x19], 0
jne 0x14008e883
lea rcx, [r15 + 0x20]
lea rax, [rsp + 0x30]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e840
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008e857
mov rcx, qword [rcx]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008e87e
jg 0x14008e883
jmp 0x14008e886
cmp rsi, rbx
jae 0x14008e821
mov rdi, qword [rdi + 0x10]
jmp 0x14008e827
cmp rdi, rbx
jbe 0x14008e886
mov r15, r13
mov qword [rbp - 0x18], r15
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140058460
mov rbx, qword [rbp - 0x60]
test rbx, rbx
jne 0x14008e8bb
mov r8d, 0x32e9
lea rdx, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.38.33130includem_includesjsonjson.hpp
lea rcx, str.m_object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, byte [rbx]
lea rdi, [0x140000000]
cmp eax, 9
ja case.0x14008e8d4.0
mov ecx, dword [rdi + rax*4 + 0x8ed44]
add rcx, rdi
jmp rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov qword [rbp - 0x58], rcx
jmp 0x14008e8f9
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x50], rcx
jmp 0x14008e8f9
mov qword [rbp - 0x48], 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14005a780
test al, al
je 0x14008ec0a
mov dword [rsp + 0x30], 0x20213020
mov dword [rsp + 0x34], 0x33243a23
mov word [rsp + 0x38], pe_nt_image_headers64
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x14008e930
mov byte [rsp + 0x39], 0
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140055e30
cmp byte [rsp + 0x40], 1
jne 0x14008ea31
mov rax, qword [rsp + 0x48]
mov r13, qword [rax]
mov rdi, qword [r13 + 8]
mov r15, r13
cmp byte [rdi + 0x19], 0
jne 0x14008e9cd
nop dword [rax]
nop word [rax + rax]
lea rcx, [rdi + 0x20]
lea rax, [rsp + 0x30]
mov rbx, r14
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e990
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008e9a7
mov rcx, qword [rcx]
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008ea13
js 0x14008ea18
mov r15, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14008e980
cmp byte [r15 + 0x19], 0
jne 0x14008ea23
lea rcx, [r15 + 0x20]
lea rax, [rsp + 0x30]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008e9e0
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008e9f7
mov rcx, qword [rcx]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008ea1e
jg 0x14008ea23
jmp 0x14008ea26
cmp rsi, rbx
jae 0x14008e9c1
mov rdi, qword [rdi + 0x10]
jmp 0x14008e9c7
cmp rdi, rbx
jbe 0x14008ea26
mov r15, r13
mov qword [rbp + 0x50], r15
lea rdi, [0x140000000]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140058460
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x14008ea64
mov r8d, 0x32e9
lea rdx, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.38.33130includem_includesjsonjson.hpp
lea rcx, str.m_object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, byte [rbx]
cmp eax, 9
ja case.0x14008ea76.0
mov ecx, dword [rdi + rax*4 + 0x8ed6c]
add rcx, rdi
jmp rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
jmp 0x14008ea9e
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x70], rcx
jmp 0x14008ea9e
mov qword [rsp + 0x78], 1
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x48]
call fcn.14005a780
test al, al
je 0x14008ec0a
mov dword [rsp + 0x30], 0x21372225
mov dword [rsp + 0x34], 0x323b343a
mov word [rsp + 0x38], pe_nt_image_headers64
mov rcx, r12
nop
lea eax, [rcx + 0x50]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x14008ead0
mov byte [rsp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x30]
mov r8, r14
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14008eb00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14005b320
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140055ef0
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14005a870
nop
mov dword [rsp + 0x30], 0x20213020
mov dword [rsp + 0x34], 0x33243a23
mov word [rsp + 0x38], pe_nt_image_headers64
mov rcx, r12
nop
lea eax, [rcx + 0x50]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x14008eb50
mov byte [rsp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x30]
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x14008eb80
mov r8, r14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14005b320
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140055ef0
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14005a870
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r8, qword [rbp - 0x20]
mov edx, 0xff
lea rcx, [0x1401ccc90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0xff
lea rcx, [0x1401ccb90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, [rbp - 0x60]
call fcn.1400588c0
nop
lea rcx, [rbp - 0x20]
call fcn.1400588c0
lea rcx, [rbp + 0x80]
call fcn.14008ca00
test rax, rax
jne 0x14008ec38
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
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
lea rcx, [rsp + 0x40]
call fcn.140058790
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140057ff0
nop
lea rcx, [rbp + 0x28]
call fcn.1400588c0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14008ec9b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ec95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ec95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099b9c
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x80]
call fcn.14008c380
lea rcx, [rbp + 0x88]
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 + 0x120]
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 - 0x28]
cmp rdx, 0xf
jbe 0x14008ed26
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ed21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ed21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099b9c
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret