Function at 0x1800bddb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, r8
mov qword [rsp + 0x48], r8
mov rbx, rdx
xor esi, esi
mov dword [rsp + 0x24], esi
cmp qword [rdx + 0x18], 7
jbe 0x1800bddfb
mov rbx, qword [rdx]
lea rax, [0x1801259f8]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r13d, 4
mov dword [rsp + 0x24], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x70], rax
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x1f], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x10], rsi
mov rax, qword [0x18016b5f8]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x28], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1800da6f0
test rax, rax
jne 0x1800bded1
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 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 [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
cmp qword [rbp - 0x10], 0
je 0x1800be626
mov rax, qword [rdi]
mov byte [rax], 0
mov r12, qword [rdi]
cmp word [r12 + 0x10], 0
je 0x1800bdf15
mov word [r12 + 0x10], si
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov r8b, 0xa
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.180039890
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 0x1800be2f0
nop dword [rax + rax]
mov rax, qword [rbp + 0x80]
test rax, rax
jne 0x1800bdf85
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.180017a40
or r13d, 1
jmp 0x1800be048
mov rbx, rsi
lea rdi, [rax - 1]
test rax, rax
je 0x1800bdfbf
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
movsx ecx, byte [rax + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
mov rax, qword [rbp + 0x80]
je 0x1800bdfbf
inc rbx
cmp rbx, rax
jb 0x1800bdf91
cmp rdi, rbx
jbe 0x1800bdff2
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
movsx ecx, byte [rax + rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x1800bdfeb
dec rdi
cmp rdi, rbx
ja 0x1800bdfc4
mov rax, qword [rbp + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], rsi
cmp rax, rbx
jb 0x1800be690
sub rdi, rbx
lea r8, [rdi + 1]
sub rax, rbx
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
add rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.180005260
or r13d, 3
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1800be086
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800be604
call fcn.1800df6f8
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x80], xmm0
movq rbx, xmm0
test rbx, rbx
je 0x1800be2bb
lea rdi, [rbp + 0x70]
movq r14, xmm1
psrldq xmm0, 8
movq r15, xmm0
cmp r15, 0xf
cmova rdi, r14
cmp rbx, 1
jb 0x1800be193
lea rsi, [rdi + rbx]
mov r8, rbx
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x1800be193
cmp byte [rcx], 0x23
je 0x1800be114
inc rcx
mov r8, rsi
sub r8, rcx
mov edx, 0x23
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
jne 0x1800be0f2
jmp 0x1800be193
sub rcx, rdi
cmp rcx, 0xffffffffffffffff
je 0x1800be193
lea r9, [rbp + 0x70]
cmp r15, 0xf
cmova r9, r14
add r9, rbx
lea rax, [rbp + 0x70]
cmp r15, 0xf
cmova rax, r14
add rax, rcx
lea rcx, [rbp + 0x70]
cmp r15, 0xf
cmova rcx, r14
mov rdx, rax
sub rdx, rcx
sub r9, rax
mov rax, rbx
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [rbp + 0x70]
cmp r15, 0xf
cmova rcx, r14
add rcx, rdx
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x80], rbx
mov r15, qword [rbp + 0x88]
mov r14, qword [rbp + 0x70]
lea rdi, [rbp + 0x70]
cmp r15, 0xf
cmova rdi, r14
cmp rbx, 2
jb 0x1800be274
lea rsi, [rdi + rbx]
lea r8, [rsi - 1]
sub r8, rdi
mov edx, 0x2f
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x1800be274
nop dword [rax]
cmp word [rcx], 0x2f2f
je 0x1800be1f5
inc rcx
lea r8, [rsi - 1]
sub r8, rcx
mov edx, 0x2f
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
jne 0x1800be1d0
jmp 0x1800be274
sub rcx, rdi
cmp rcx, 0xffffffffffffffff
je 0x1800be274
lea r9, [rbp + 0x70]
cmp r15, 0xf
cmova r9, r14
add r9, rbx
lea rax, [rbp + 0x70]
cmp r15, 0xf
cmova rax, r14
add rax, rcx
lea rcx, [rbp + 0x70]
cmp r15, 0xf
cmova rcx, r14
mov rdx, rax
sub rdx, rcx
sub r9, rax
mov rax, rbx
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [rbp + 0x70]
cmp r15, 0xf
cmova rcx, r14
add rcx, rdx
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x80], rbx
mov r15, qword [rbp + 0x88]
mov r14, qword [rbp + 0x70]
test rbx, rbx
je 0x1800be2b9
lea rdi, [rbp + 0x70]
cmp r15, 0xf
cmova rdi, r14
add rdi, rbx
lea rbx, [rbp + 0x70]
cmp r15, 0xf
cmova rbx, r14
cmp rbx, rdi
je 0x1800be2b9
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
jne 0x1800be358
inc rbx
cmp rbx, rdi
jne 0x1800be2a0
xor esi, esi
mov r8b, 0xa
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.180039890
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 0x1800bdf60
mov rdi, qword [rsp + 0x48]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
movzx r8d, word [r12 + 0x10]
mov rcx, qword [r12 + 8]
lea rdx, [rcx + r8*8]
movzx r9d, byte [rsp + 0x20]
call fcn.1800dac80
mov rax, qword [rdi]
mov byte [rax], 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1800be610
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be60b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800be60b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], 2
mov qword [rbp + 0xa8], 0xf
mov eax, 0x2009
mov word [rbp + 0x90], ax
mov byte [rbp + 0x92], 0
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18003fc30
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1800be3e2
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800be5fd
call fcn.1800df6f8
mov rdi, qword [rsp + 0x38]
mov rax, rdi
mov rbx, qword [rsp + 0x30]
sub rax, rbx
sar rax, 5
cmp rax, 2
jae 0x1800be464
test rbx, rbx
je 0x1800be2b9
cmp rbx, rdi
je 0x1800be426
nop word [rax + rax]
mov rcx, rbx
call fcn.180005610
add rbx, 0x20
cmp rbx, rdi
jne 0x1800be410
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800be457
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800be604
mov rcx, rbx
call fcn.1800df6f8
jmp 0x1800be2b9
mov r11, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800be471
mov r11, qword [rbx]
xor esi, esi
mov ecx, esi
mov r10d, esi
cmp byte [r11], cl
je 0x1800be4bc
nop dword [rax]
lea r9d, [rcx + 1]
mov eax, ecx
movzx r8d, byte [rax + r11]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
mov ecx, r9d
cmp byte [r9 + r11], sil
jne 0x1800be480
lea ecx, [r10 + r10*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul edi, ecx, 0x8001
lea rcx, [rbx + 0x20]
cmp qword [rcx + 0x18], 0xf
jbe 0x1800be4db
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mov dword [rsp + 0x24], edi
movss dword [rsp + 0x28], xmm1
movzx ecx, word [r12 + 0x10]
movzx eax, word [r12 + 0x12]
test ax, ax
jne 0x1800be50a
mov edx, 0x10
jmp 0x1800be532
cmp ecx, eax
jb 0x1800be53c
cmp ecx, 2
jae 0x1800be51a
mov eax, 2
jmp 0x1800be530
lea eax, [rcx + 1]
test eax, ecx
je 0x1800be530
bsr eax, eax
movzx ecx, al
inc ecx
mov eax, 1
shl eax, cl
mov edx, eax
lea rcx, [r12 + 8]
call fcn.1800d9ad0
movzx edx, word [r12 + 0x10]
mov rcx, qword [r12 + 8]
mov rax, qword [rsp + 0x24]
mov qword [rcx + rdx*8], rax
inc word [r12 + 0x10]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1800be2bb
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1800be5c3
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800be5a6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800be5a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800be604
mov rcx, r8
call fcn.1800df6f8
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x1800be570
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800be5f0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800be604
mov rcx, rbx
call fcn.1800df6f8
jmp 0x1800be2bb
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 fcn.1800df6f8
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.180043780
lea rcx, [rsp + 0x78]
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 + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800df290
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180018050
nop
int3