Function at 0x7ff698f48f60
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb0
mov rax, qword [0x7ff69902b080]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x39], rax
xor r14d, r14d
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov rsi, qword [0x7ff699056290]
mov eax, 0x5a4d
cmp word [0x7ff69902b100], ax
jne 0x7ff698f49572
movsxd rdi, dword [0x7ff69902b13c]
lea rax, [0x7ff69902b100]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x7ff698f49572
mov eax, 0x20b
cmp word [rdi + 0x18], ax
je 0x7ff698f48ff2
lea rdx, [0x7ff69900eb10]
jmp 0x7ff698f49579
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 r15, rax
test rax, rax
je 0x7ff698f49595
movzx eax, word [rdi + 0x14]
mov eax, dword [rax + rdi + 0x24]
mov dword [rbp - 0x79], eax
sub ebx, eax
mov dword [rbp - 0x61], ebx
mov r13, r14
mov qword [rbp - 0x69], r14
mov r12d, ebx
mov ecx, 4
mov eax, dword [rbp + 0x67]
cmp eax, 1
jne 0x7ff698f4905b
lea r8, [rbp - 0x69]
mov edx, r12d
mov rcx, rsi
call fcn.7ff698f48900
mov rbx, rax
mov qword [rbp - 0x71], rax
mov r13, qword [rbp - 0x69]
jmp 0x7ff698f49189
cmp eax, 2
jne 0x7ff698f49076
mov edx, ebx
mov rcx, rsi
call fcn.7ff698f48cf0
mov rbx, rax
mov qword [rbp - 0x71], rax
jmp 0x7ff698f49189
test ebx, ebx
je 0x7ff698f4912f
mov edx, ecx
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff6990569f8], eax
jle 0x7ff698f49102
lea rcx, [0x7ff6990569f8]
call fcn.7ff698fe9988
cmp dword [0x7ff6990569f8], 0xffffffff
jne 0x7ff698f49102
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0x15
lea rdx, [0x7ff69900d3d0]
lea rcx, [rbp - 0x59]
call fcn.7ff698f3fda0
nop
lea r8, [rbp - 0x59]
mov rdx, qword [0x7ff699056288]
mov rcx, rsi
call fcn.7ff698f42a50
mov qword [0x7ff699056ae0], rax
lea rcx, [rbp - 0x59]
call fcn.7ff698f3d390
nop
lea rcx, [0x7ff6990569f8]
call fcn.7ff698fe991c
cmp qword [0x7ff699056ae0], 0
jne 0x7ff698f49168
lea rdx, [0x7ff69900d3f0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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]
lea rdx, [0x7ff69900eb40]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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, r15
call qword [sym.imp.kernel32.dll_VirtualFree]
jmp 0x7ff698f49595
mov qword [rbp - 0x71], r14
mov qword [rsp + 0x20], r12
lea rdx, [rbp - 0x71]
mov rcx, rsi
call fcn.7ff698f47130
test al, al
je 0x7ff698f4912f
mov rbx, qword [rbp - 0x71]
mov qword [rbp - 0x71], rbx
test rbx, rbx
je 0x7ff698f4912f
lea rdx, [0x7ff69900eba0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
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, [0x7ff698f45af0]
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]
lea rdx, [0x7ff69902b100]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [rdi + 0x14]
add rax, 0x24
xor ecx, ecx
cmp cx, word [rdi + 6]
jae 0x7ff698f49225
lea rbx, [rax + rdi]
lea r13, [0x7ff69902b100]
nop dword [rax + rax]
test dword [rbx + 0x18], 0x80
ja 0x7ff698f4920d
mov ecx, dword [rbx]
add rcx, r15
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
add rdx, r13
call sub.VCRUNTIME140.dll_memcpy
inc r14d
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp r14d, eax
jl 0x7ff698f491f0
mov r13, qword [rbp - 0x69]
mov rbx, qword [rbp - 0x71]
mov r14, rbx
mov eax, dword [rbp - 0x79]
sub rbx, rax
mov qword [rbp - 0x71], rbx
lea rdx, [0x7ff69900ec18]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f41410]
mov rcx, rax
call qword [0x7ff698fef540]
mov edx, dword [rbp - 0x79]
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, [0x7ff69900ebf0]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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]
sub rbx, qword [rdi + 0x30]
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.7ff698f4a3c0
mov rdx, rbx
mov rcx, rax
call fcn.7ff698f495d0
mov rbx, qword [rbp - 0x71]
mov rdx, rbx
mov rcx, r15
call fcn.7ff698f496d0
test al, al
jne 0x7ff698f492ba
lea rdx, [0x7ff69900ec38]
jmp 0x7ff698f49579
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.7ff698f4a510
mov rdx, rax
mov rcx, rsi
call fcn.7ff698f49820
test al, al
jne 0x7ff698f492e1
lea rdx, [0x7ff69900ec70]
jmp 0x7ff698f49390
mov r8d, dword [rbp - 0x79]
add r8, r15
mov r9, r12
mov rdx, r14
mov rcx, rsi
call fcn.7ff698f42330
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 0x7ff698f4930d
lea rdx, [0x7ff69900ecb0]
jmp 0x7ff698f49397
mov edi, dword [rdi + 0x28]
add rdi, rbx
lea rdx, [0x7ff69900ed10]
call fcn.7ff698f45910
mov rdx, rdi
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, [0x7ff698f45af0]
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 qword [rsp + 0x20], r13
mov r9, r12
mov r8, r14
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.7ff698f4a0d0
test al, al
jne 0x7ff698f49360
lea rdx, [0x7ff69900ed50]
jmp 0x7ff698f49390
xor eax, eax
mov dword [rbp - 0x79], eax
mov rax, qword [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x19]
mov r8, rdi
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.7ff698f49b40
test al, al
jne 0x7ff698f49510
lea rdx, [0x7ff69900eda0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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, r15
call qword [sym.imp.kernel32.dll_VirtualFree]
lea rdx, [0x7ff69900ee18]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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 eax, dword [rbp + 0x67]
mov rdx, r14
mov rcx, rsi
cmp eax, 1
jne 0x7ff698f494e0
mov r8, r13
call fcn.7ff698f42740
test al, al
je 0x7ff698f49412
mov rdx, r13
mov rcx, rsi
call fcn.7ff698f42850
test al, al
je 0x7ff698f49412
test r13, r13
jne 0x7ff698f49419
xor al, al
jmp 0x7ff698f494f5
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff699056a90], eax
jle 0x7ff698f494a0
lea rcx, [0x7ff699056a90]
call fcn.7ff698fe9988
cmp dword [0x7ff699056a90], 0xffffffff
jne 0x7ff698f494a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 0xa
lea rdx, [0x7ff69900d438]
lea rcx, [rbp - 0x59]
call fcn.7ff698f3fda0
nop
lea r8, [rbp - 0x59]
mov rdx, qword [0x7ff699056288]
mov rcx, rsi
call fcn.7ff698f42a50
mov qword [0x7ff699056a40], rax
lea rcx, [rbp - 0x59]
call fcn.7ff698f3d390
nop
lea rcx, [0x7ff699056a90]
call fcn.7ff698fe991c
mov r8, qword [0x7ff699056a40]
test r8, r8
jne 0x7ff698f494d3
lea rdx, [0x7ff69900d3f0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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 al, al
jmp 0x7ff698f494f5
mov r9, r13
mov rcx, rsi
call fcn.7ff698f45ef0
jmp 0x7ff698f494f5
cmp eax, 2
jne 0x7ff698f494f0
mov r8d, dword [rbp - 0x61]
call fcn.7ff698f42620
jmp 0x7ff698f494f5
call fcn.7ff698f42950
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test al, al
lea rdx, [0x7ff69900ee40]
jne 0x7ff698f49580
lea rdx, [0x7ff69900ee80]
jmp 0x7ff698f49580
mov ebx, dword [rbp - 0x79]
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x7ff698f4951e
mov dword [rax], ebx
lea rdx, [0x7ff69900ede0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f41410]
mov rcx, rax
call qword [0x7ff698fef540]
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, [0x7ff698f45af0]
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, r15
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rax, r14
jmp 0x7ff698f49597
lea rdx, [0x7ff69900ead0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45910
lea rdx, [0x7ff698f45af0]
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 - 9]
xor rcx, rsp
call fcn.7ff698fe98c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret