Function at 0x1400501f8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x510
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov ecx, 0x104
call fcn.1400699b8
mov dword [rsp + 0x228], 0x40
mov r13d, 1
mov dword [rsp + 0x22c], r13d
movaps xmm0, xmmword [str.gzpcoxh_pW2.1__1]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm1, xmmword [0x14007e330]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmm0, xmmword [0x14007e340]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm1, xmmword [0x14007e350]
movaps xmmword [rsp + 0x100], xmm1
mov eax, dword [0x14007e360]
mov dword [rsp + 0x110], eax
mov al, byte [0x14007e364]
mov byte [rsp + 0x114], al
xor r14d, r14d
mov r8d, r14d
lea r9, [rsp + 0xd0]
mov esi, 0x24924925
mov eax, esi
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0x45
jl 0x1400502b6
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
or r15d, 0xffffffff
mov r12d, 0x811c9dc5
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x14005102e
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14005102e
mov edi, dword [r10 + 0x20]
add r9d, r15d
lea rcx, [rdi + r9*4]
mov r8d, dword [rcx + rdx]
add r8, rdx
mov r11d, r12d
mov cl, byte [r8]
add r8, r13
test cl, cl
je 0x140051025
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
add r8, r13
test cl, cl
jne 0x14005034a
cmp r11d, 0xe971d8a3
jne 0x140051025
mov ecx, dword [r10 + 0x1c]
add rcx, rdx
mov eax, dword [r10 + 0x24]
add rax, rdx
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, rdx
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0xd0]
mov rcx, 0xffffffff80000002
call r9
movups xmm0, xmmword [str._ECYUVwS_K_._C]
movdqu xmmword [rsp + 0x50], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400503f1
mov r8d, r14d
lea r9, [rsp + 0x50]
mov eax, esi
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0x10
jl 0x1400503c4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r14b
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140050412
lea rcx, [rsp + 0x60]
cmp rbx, 0xf
ja 0x14005043f
mov qword [rsp + 0x70], rbx
mov r8, rbx
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], r14b
jmp 0x14005044d
lea r9, [rsp + 0x50]
mov rdx, rbx
call fcn.14006889c
nop
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rbx, qword [rsp + 0x60]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14005101d
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14005101d
mov esi, dword [r10 + 0x20]
add r9d, r15d
lea rcx, [r8 + r9*4]
mov edx, dword [rcx + rsi]
add rdx, r8
mov r11d, r12d
mov cl, byte [rdx]
add rdx, r13
test cl, cl
je 0x140051014
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, r13
test cl, cl
jne 0x1400504b9
cmp r11d, 0x9027eb7c
jne 0x140051014
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov r10d, dword [rcx + rax*4]
add r10, r8
lea rax, [rsp + 0x228]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x22c]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x200]
call r10
nop
mov rdx, qword [rsp + 0x78]
mov esi, 0x1000
cmp rdx, 0x10
jb 0x14005056b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140050566
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050566
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14005100c
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14005100c
mov edi, dword [r10 + 0x20]
add r9d, r15d
lea rcx, [r8 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r8
mov r11d, r12d
mov cl, byte [rdx]
add rdx, r13
test cl, cl
je 0x140051003
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
add rdx, r13
test cl, cl
jne 0x1400505c6
cmp r11d, 0x1242154a
jne 0x140051003
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r8
mov rcx, qword [rsp + 0x200]
call rdx
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x3b0]
call fcn.140066430
nop
mov qword [rsp + 0x230], r14
mov qword [rsp + 0x240], r14
mov edi, 0xf
mov qword [rsp + 0x248], rdi
mov byte [rsp + 0x230], r14b
movups xmm0, xmmword [str.hVPPdZVRYSJ]
movdqu xmmword [rsp + 0x50], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400506a6
mov r8d, r14d
lea r9, [rsp + 0x50]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0x10
jl 0x140050676
mov qword [rsp + 0x250], r14
mov qword [rsp + 0x260], r14
mov qword [rsp + 0x268], rdi
mov byte [rsp + 0x250], r14b
lea rax, [rsp + 0x50]
or r12, 0xffffffffffffffff
mov rbx, r12
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400506d2
lea rcx, [rsp + 0x250]
cmp rbx, rdi
ja 0x140050707
mov qword [rsp + 0x260], rbx
mov r8, rbx
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x250], r14b
jmp 0x140050715
lea r9, [rsp + 0x50]
mov rdx, rbx
call fcn.14006889c
nop
mov qword [rsp + 0x208], r14
mov qword [rsp + 0x218], r14
mov qword [rsp + 0x220], rdi
mov byte [rsp + 0x208], r14b
lea rax, [rsp + 0x4c0]
mov rbx, r12
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140050740
lea rcx, [rsp + 0x208]
cmp rbx, rdi
ja 0x140050778
mov qword [rsp + 0x218], rbx
mov r8, rbx
lea rdx, [rsp + 0x4c0]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x208], r14b
jmp 0x140050789
lea r9, [rsp + 0x4c0]
mov rdx, rbx
call fcn.14006889c
nop
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae rdx, qword [rsp + 0x250]
mov r8, qword [rsp + 0x260]
lea rcx, [rsp + 0x208]
call fcn.140067e70
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rdi
mov byte [rax], r14b
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8d, r13d
lea rcx, [rsp + 0x3c0]
call fcn.140067c38
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x3b0]
je 0x14005082d
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14005083c
add rcx, rax
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 rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140050878
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050873
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], r14b
mov rdx, qword [rsp + 0x220]
cmp rdx, 0x10
jb 0x1400508c9
inc rdx
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, rsi
jb 0x1400508c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400508c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
lea rdi, [0x140073520]
mov ebx, 0xf8
lea r15, [0x14007e608]
mov rax, qword [rsp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x3b0]
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]
mov r8b, al
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x3b0]
call fcn.140068f44
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140050eea
movsd xmm0, qword [str.SGWGPPYH]
movsd qword [rsp + 0x80], xmm0
mov eax, dword [0x14007e3c0]
mov dword [rsp + 0x88], eax
mov al, byte [0x14007e3c4]
mov byte [rsp + 0x8c], al
mov r8d, r14d
lea r9, [rsp + 0x80]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0xd
jl 0x14005095b
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x230]
call fcn.1400674f4
cmp rax, r12
je 0x140050b0f
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x208]
call fcn.140067700
nop
mov rdx, rdi
lea rcx, [rsp + 0x208]
call fcn.1400674f4
lea r8, [rax + 2]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x208]
call fcn.14006746c
mov rdx, rax
lea rcx, [rsp + 0x208]
call fcn.14006761c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140050a31
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x270]
call fcn.140065fd0
nop
lea rdx, [0x140087058]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x270], r15
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x26c], edx
lea rcx, [rsp + 0x288]
call fcn.140065f14
lea rcx, [rsp + 0x290]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x308]
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 [rsp + 0x220]
cmp rdx, 0x10
jb 0x1400508dc
inc rdx
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, rsi
jb 0x140050ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [0x14007ed50]
movups xmmword [rsp + 0xa8], xmm0
movzx eax, word [0x14007ed60]
mov word [rsp + 0xb8], ax
cmp byte [0x14007ed61], r14b
je 0x140050b71
mov r8d, r14d
lea r9, [rsp + 0xa8]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0x12
jl 0x140050b41
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x230]
call fcn.1400674f4
cmp rax, r12
je 0x140050cf5
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x208]
call fcn.140067700
nop
mov rdx, rdi
lea rcx, [rsp + 0x208]
call fcn.1400674f4
lea r8, [rax + 2]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x208]
call fcn.14006746c
mov rdx, rax
lea rcx, [rsp + 0x208]
call fcn.14006761c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140050c17
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x270]
call fcn.140065fd0
nop
lea rdx, [0x1400871b0]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
nop
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x270], r15
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x26c], edx
lea rcx, [rsp + 0x288]
call fcn.140065f14
lea rcx, [rsp + 0x290]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x308]
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 [rsp + 0x220]
cmp rdx, 0x10
jb 0x1400508dc
inc rdx
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, rsi
jb 0x140050ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [str.__FBL]
movups xmmword [rsp + 0x90], xmm0
mov eax, dword [0x14007dcc0]
mov dword [rsp + 0xa0], eax
movzx eax, word [0x14007dcc4]
mov word [rsp + 0xa4], ax
cmp byte [0x14007dcc5], r14b
je 0x140050d64
mov r8d, r14d
lea r9, [rsp + 0x90]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
add r8d, r13d
add r9, r13
cmp r8d, 0x16
jl 0x140050d34
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x230]
call fcn.1400674f4
cmp rax, r12
je 0x1400508dc
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x208]
call fcn.140067700
nop
mov rdx, rdi
lea rcx, [rsp + 0x208]
call fcn.1400674f4
lea r8, [rax + 2]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x208]
call fcn.14006746c
mov rdx, rax
lea rcx, [rsp + 0x208]
call fcn.14006761c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140050e0a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050e05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x270]
call fcn.140065fd0
nop
lea rdx, [0x1400871a8]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
nop
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x270], r15
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x26c], edx
lea rcx, [rsp + 0x288]
call fcn.140065f14
lea rcx, [rsp + 0x290]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x308]
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 [rsp + 0x220]
cmp rdx, 0x10
jb 0x1400508dc
inc rdx
mov rcx, qword [rsp + 0x208]
mov rax, rcx
cmp rdx, rsi
jb 0x140050ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
jmp 0x1400508dc
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x140050f2d
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, rsi
jb 0x140050f27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050f27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
nop
lea rcx, [rsp + 0x3c0]
call fcn.140067b98
test rax, rax
jne 0x140050f64
mov rax, qword [rsp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x3b0]
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 rdx, qword [rsp + 0x248]
cmp rdx, 0x10
jb 0x140050fa6
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, rsi
jb 0x140050fa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050fa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400692d0
mov qword [rsp + 0x240], r14
mov qword [rsp + 0x248], 0xf
mov byte [rsp + 0x230], r14b
lea rcx, [rsp + 0x3b0]
call fcn.140048478
xor eax, eax
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1400691e0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
test r9d, r9d
jne 0x1400505a9
mov rax, qword [rax]
jmp 0x14005057c
test r9d, r9d
jne 0x14005049c
mov rax, qword [rax]
jmp 0x14005046f
test r9d, r9d
jne 0x14005032b
mov rax, qword [rax]
jmp 0x1400502fe