Function at 0x7ff65a6f23e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa0
mov rax, qword [0x7ff65a7b0200]
xor rax, rsp
mov qword [rbp - 1], rax
mov byte [rbp - 0x68], r9b
mov r15, rcx
mov qword [rbp - 0x11], rdx
mov qword [rbp - 9], r8
movzx esi, byte [rbp + 0x67]
mov byte [rbp - 0x69], sil
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rax
mov rax, qword [rbp + 0x87]
mov qword [rbp - 0x19], rax
call fcn.7ff65a6f4370
mov qword [0x7ff65a7b1f20], rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x7ff65a6f292b
movsxd rdi, dword [r15 + 0x3c]
add rdi, r15
cmp dword [rdi], 0x4550
jne 0x7ff65a6f292b
mov eax, 0x20b
cmp word [rdi + 0x18], ax
je 0x7ff65a6f2479
lea rdx, [0x7ff65a795168]
jmp 0x7ff65a6f2932
mov ebx, dword [rdi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x7ff65a6f294e
movzx eax, word [rdi + 0x14]
mov ecx, dword [rax + rdi + 0x24]
mov dword [rbp - 0x65], ecx
xor r12d, r12d
mov eax, r12d
test sil, sil
cmovne eax, ecx
mov dword [rbp - 0x59], eax
sub ebx, eax
mov qword [rbp - 0x49], r12
mov edx, ebx
mov qword [rbp - 0x51], rdx
cmp byte [rbp + 0x6f], r12b
je 0x7ff65a6f24d9
lea r8, [rbp - 0x49]
call fcn.7ff65a6f1eb0
mov r12, rax
jmp 0x7ff65a6f2638
mov rbx, qword [0x7ff65a7b1f20]
test rdx, rdx
je 0x7ff65a6f260c
mov r8d, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r8 + rcx]
cmp dword [0x7ff65a7b2068], eax
jle 0x7ff65a6f25df
lea rcx, [0x7ff65a7b2068]
call fcn.7ff65a77fbf4
cmp dword [0x7ff65a7b2068], 0xffffffff
jne 0x7ff65a6f25db
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 0xf
mov ecx, 0x20
call fcn.7ff65a77f40c
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], 0x15
mov qword [rbp - 0x29], 0x1f
movups xmm0, xmmword [0x7ff65a795e30]
movups xmmword [rax], xmm0
mov ecx, dword [0x7ff65a795e40]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x7ff65a795e44]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea r8, [rbp - 0x41]
mov rdx, qword [0x7ff65a7b1f28]
mov rcx, rbx
call fcn.7ff65a6f5390
mov qword [0x7ff65a7b2120], rax
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x7ff65a6f25cf
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65a6f25c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65a6f25c9
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65a77f448
nop
lea rcx, [0x7ff65a7b2068]
call fcn.7ff65a77fb88
mov rdx, qword [rbp - 0x51]
cmp qword [0x7ff65a7b2120], 0
jne 0x7ff65a6f261b
lea rdx, [0x7ff65a795e50]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r13, r12
lea rdx, [0x7ff65a7951a0]
jmp 0x7ff65a6f2834
mov qword [rbp - 0x61], r12
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.7ff65a6f9130
test al, al
je 0x7ff65a6f260c
mov r12, qword [rbp - 0x61]
mov r13, r12
test r12, r12
jne 0x7ff65a6f264c
lea rdx, [0x7ff65a7951a0]
jmp 0x7ff65a6f2834
lea rdx, [0x7ff65a795200]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
mov rdx, r12
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, dword [rdi + 0x54]
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy_1
movzx ebx, word [rdi + 0x14]
add rbx, 0x28
xor eax, eax
mov esi, eax
cmp ax, word [rdi + 6]
jae 0x7ff65a6f26cb
add rbx, rdi
nop
test dword [rbx + 0x14], 0x80
ja 0x7ff65a6f26bd
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
mov ecx, dword [rbx - 4]
add rcx, r14
call sub.VCRUNTIME140.dll_memcpy_1
inc esi
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x7ff65a6f26a0
mov rsi, r12
cmp byte [rbp - 0x69], 0
je 0x7ff65a6f2727
mov ebx, dword [rbp - 0x65]
sub r12, rbx
lea rdx, [0x7ff65a795278]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f1ad0]
mov rcx, rax
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___class_std::basic_ios_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ios_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x7ff65a795250]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, r12
sub rbx, qword [rdi + 0x30]
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.7ff65a6fae20
mov rdx, rbx
mov rcx, rax
call fcn.7ff65a6f2980
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.7ff65a6faf70
mov rdx, rax
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f2a80
test al, al
jne 0x7ff65a6f2770
lea rdx, [0x7ff65a795298]
jmp 0x7ff65a6f2834
mov r8d, dword [rbp - 0x59]
add r8, r14
mov r15, qword [rbp - 0x51]
mov r9, r15
mov rdx, rsi
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f4c90
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test al, al
jne 0x7ff65a6f27a4
lea rdx, [0x7ff65a7952e0]
jmp 0x7ff65a6f283b
mov ebx, dword [rdi + 0x28]
add rbx, r12
lea rdx, [0x7ff65a795340]
call fcn.7ff65a6f3080
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x49]
test rax, rax
je 0x7ff65a6f2801
mov qword [rsp + 0x20], rdi
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call rax
test al, al
jne 0x7ff65a6f2801
lea rdx, [0x7ff65a795380]
jmp 0x7ff65a6f2834
mov dword [rbp - 0x65], 0
mov r9, qword [rbp - 0x11]
cmp byte [rbp + 0x77], 0
cmovne r9, rsi
mov rax, qword [rbp - 9]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x65]
call fcn.7ff65a6f32a0
test al, al
jne 0x7ff65a6f2881
lea rdx, [0x7ff65a7953d0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rdx, r13
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f5240
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f48a0
jmp 0x7ff65a6f294e
mov ebx, dword [rbp - 0x65]
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x7ff65a6f288f
mov dword [rax], ebx
lea rdx, [0x7ff65a795410]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f1ad0]
mov rcx, rax
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___class_std::basic_ios_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ios_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp byte [rbp - 0x68], 0
je 0x7ff65a6f2909
mov rdx, rsi
mov rcx, qword [0x7ff65a7b1f20]
cmp byte [rbp + 0x6f], 0
je 0x7ff65a6f2904
mov r8, rdi
call fcn.7ff65a6f4f80
mov rdx, rdi
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f50e0
mov rdx, rdi
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f5240
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rcx, qword [0x7ff65a7b1f20]
call fcn.7ff65a6f48a0
mov rax, rsi
jmp 0x7ff65a6f2950
lea rdx, [0x7ff65a795128]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff65a6f3080
lea rdx, [0x7ff65a6f3260]
mov rcx, rax
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___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.7ff65a77fd80
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret