Function at 0x140003a71
Capabilities:
Enumerate pe sections
Read file via mapping

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
call dbg.fnGetCurrentProcess()
mov qword [rbp - 0x10], rax
pxor xmm0, xmm0
movups xmmword [rbp - 0xa0], xmm0
movq qword [rbp - 0x90], xmm0
mov rdx, qword [rbp + 0x10]
lea rax, [rbp - 0x80]
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)
lea rax, [rbp - 0x80]
mov rcx, rax
call dbg.GetModuleHandleInt(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >)
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x80]
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()
lea rcx, [rbp - 0xa0]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov r9d, 0x18
mov r8, rcx
mov rcx, rax
call dbg.fnGetModuleInformation(void*, HINSTANCE__*, void*, unsigned long)
mov rax, qword [rbp - 0xa0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1000002
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call rax
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MapViewOfFile]
call rax
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x48], rax
mov word [rbp - 2], 0
jmp 0x140003cd7
mov rax, qword [rbp - 0x48]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x48]
lea rcx, [rdx + rax]
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
lea rdx, [0x140016a1a]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140003ccc
mov dword [rbp - 0xa4], 0
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x20]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0xa4]
mov r9, rax
mov r8d, 0x40
call dbg.fnVirtualProtect(void*, unsigned long long, unsigned long, unsigned long*)
test eax, eax
setne al
mov byte [rbp - 0x51], al
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x38]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x20]
add rax, rcx
mov rcx, rax
call sym.memcpy
mov edx, dword [rbp - 0xa4]
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x20]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0xa4]
mov r9, rax
mov r8d, edx
mov rdx, r10
call dbg.fnVirtualProtect(void*, unsigned long long, unsigned long, unsigned long*)
test eax, eax
setne al
mov byte [rbp - 0x51], al
movzx eax, word [rbp - 2]
add eax, 1
mov word [rbp - 2], ax
mov rax, qword [rbp - 0x48]
movzx eax, word [rax + 6]
cmp word [rbp - 2], ax
jb 0x140003bc9
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
call rax
nop
add rsp, 0xf0
pop rbp
ret