Function at 0x140004b20
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movdqa xmmword [rsp + 0xa0], xmm6
mov rdi, rdx
mov r15, rcx
mov r14, qword [rdx + 0x18]
mov rbx, qword [rdx + 0x20]
test r14, r14
je 0x140004b55
mov rax, qword [rbx + 0x30]
jmp 0x140004b58
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x38], rax
mov eax, dword [rbx + 0x50]
mov qword [rsp + 0x70], rax
mov rsi, qword [0x14078e038]
test rsi, rsi
je 0x140004ba1
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x70]
mov rcx, rax
xor r8d, r8d
call rsi
test eax, eax
jne 0x140004be6
jmp 0x140004c3f
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparserheader.rs
lea rcx, [rsp + 0x40]
mov r8d, 9
call sym.memexec::peloader::winapi::load_library::h47fe96a14864733f
cmp dword [rsp + 0x40], 0
jne 0x140004be6
mov rdx, qword [rsp + 0x48]
lea r8, [0x14075a859]
lea rcx, [rsp + 0x58]
mov r9d, 0x17
call sym.memexec::peloader::winapi::get_proc_address_by_name::he07d7bc495b69359
cmp dword [rsp + 0x58], 0
je 0x140005192
mov qword [rsp + 0x38], 0
mov rsi, qword [0x14078e038]
test rsi, rsi
je 0x140004cc4
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x70]
mov rcx, rax
xor r8d, r8d
call rsi
test eax, eax
je 0x140004c3f
movd xmm1, eax
movdqa xmm0, xmmword [0x14075a820]
punpckldq xmm0, xmm1
jmp 0x14000516d
mov qword [rsp + 0x30], r15
mov rsi, qword [rdi + 0x28]
mov r13, qword [rdi + 0x30]
test r13, r13
je 0x140004c95
mov rdi, qword [rdi + 0x48]
lea rax, [r13*8]
lea r15, [rax + rax*4]
xor r12d, r12d
nop word cs:[rax + rax]
mov edx, dword [rsi + r12 + 0x14]
add rdx, rdi
mov ecx, dword [rsi + r12 + 0xc]
mov r8d, dword [rsi + r12 + 0x10]
add rcx, qword [rsp + 0x38]
call sym.memcpy
add r12, 0x28
cmp r15, r12
jne 0x140004c70
mov qword [rsp + 0x78], r13
mov rax, r14
shl rax, 4
mov r13, qword [rsp + 0x38]
test r14, r14
je 0x140004cf1
mov rcx, qword [rbx + 0x30]
lea rdi, [rbx + rax]
add rdi, 0x78
mov rax, r13
sub rax, rcx
jne 0x140004d08
jmp 0x140004de2
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparserheader.rs
lea rcx, [rsp + 0x40]
mov r8d, 9
call sym.memexec::peloader::winapi::load_library::h47fe96a14864733f
cmp dword [rsp + 0x40], 0
je 0x140005144
movq xmm0, qword [rsp + 0x44]
jmp 0x14000516d
mov ecx, dword [rbx + 0x34]
lea rdi, [rbx + rax]
add rdi, 0x78
mov rax, r13
sub rax, rcx
je 0x140004de2
mov ecx, dword [rdi + 0x28]
test rcx, rcx
je 0x140004de2
cmp dword [rdi + 0x2c], 0
je 0x140004de2
add rcx, r13
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x140004d53
jmp 0x140004dd4
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x140004dd4
cmp r8d, 0xa
jb 0x140004dc4
lea r9, [r8 - 8]
shr r9, 0x3f
add r8, r9
add r8, 0xfffffffffffffff8
sar r8, 1
cmp r8, 2
cmovl r8, rdx
xor r9d, r9d
jmp 0x140004d88
inc r9
cmp r8, r9
je 0x140004dc0
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x140004d80
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [r13 + r10], rax
jmp 0x140004d80
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x140004d53
cmp dword [rcx], 0
jne 0x140004d40
mov r13, qword [rsp + 0x38]
mov qword [rsp + 0x68], rdi
cmp dword [rdi + 0xc], 0
je 0x140004f99
mov rax, qword [rsp + 0x68]
mov edi, dword [rax + 8]
test rdi, rdi
je 0x140004f99
add rdi, r13
lea rax, [r13 + 2]
mov qword [rsp + 0x88], rax
lea rbx, [rsp + 0x40]
mov eax, 5
movd xmm6, eax
mov r14d, dword [rdi + 0xc]
test r14, r14
jne 0x140004e50
cmp dword [rdi + 0x10], 0
jne 0x140004e50
cmp dword [rdi], 0
jne 0x140004e50
cmp dword [rdi + 4], 0
jne 0x140004e50
cmp dword [rdi + 8], 0
je 0x140004f99
nop word cs:[rax + rax]
add r14, r13
mov rcx, r14
call sym.strlen
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, r14
call dbg.to_str
cmp qword [rsp + 0x40], 0
jne 0x1400051f9
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call sym.memexec::peloader::winapi::load_library::h47fe96a14864733f
cmp dword [rsp + 0x40], 0
jne 0x1400051f3
mov eax, dword [rdi]
mov qword [rsp + 0x80], rdi
mov edi, dword [rdi + 0x10]
add rdi, r13
lea rbp, [rax + r13]
test rax, rax
cmove rbp, rdi
mov r15, qword [rbp]
test r15, r15
je 0x140004f70
mov r14, qword [rsp + 0x48]
xor ebx, ebx
jmp 0x140004efd
movzx edx, r15w
mov rcx, r14
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x1400051c6
mov qword [rdi + rbx], rcx
mov r15, qword [rbp + rbx + 8]
add rbx, 8
mov r12, rax
test r15, r15
je 0x140004f73
test r15, r15
js 0x140004ed0
mov rax, qword [rsp + 0x88]
cmp byte [rax + r15], 0
je 0x140004f70
add r15, rax
mov rcx, r15
call sym.strlen
lea r8, [rax + 1]
lea rcx, [rsp + 0x40]
mov rdx, r15
call dbg.to_str
cmp qword [rsp + 0x40], 0
jne 0x14000517f
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
mov rdx, r14
call sym.memexec::peloader::winapi::get_proc_address_by_name::he07d7bc495b69359
cmp dword [rsp + 0x58], 0
jne 0x14000518a
mov rcx, qword [rsp + 0x60]
mov rax, r12
jmp 0x140004ee8
mov rax, r12
mov rdi, qword [rsp + 0x80]
add rdi, 0x14
mov r12, rax
lea rbx, [rsp + 0x40]
mov r14d, dword [rdi + 0xc]
test r14, r14
jne 0x140004e50
jmp 0x140004e28
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400050d8
shl rax, 3
lea r14, [rax + rax*4]
xor edi, edi
lea rbx, [rsp + 0x40]
lea r12, [rsp + 0x98]
lea r13, [rsp + 0x90]
jmp 0x140005016
mov r15, qword [0x14078e040]
test r15, r15
je 0x140005080
mov dword [rsp + 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r12
mov r8, r13
mov r9d, ebp
call r15
test eax, eax
jne 0x1400051a3
add rdi, 0x28
cmp r14, rdi
je 0x1400050d8
mov eax, dword [rsi + rdi + 0x10]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140005009
mov eax, dword [rsi + rdi + 0xc]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov eax, dword [rsi + rdi + 0x24]
test eax, 0x20000000
jne 0x140005060
mov ebp, 1
test eax, 0x40000000
je 0x140004fd0
shr eax, 0x1f
lea ebp, [rax*2 + 2]
jmp 0x140004fd0
mov ebp, 0x10
test eax, 0x40000000
je 0x140004fd0
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov ebp, eax
jmp 0x140004fd0
mov r8d, 9
mov rcx, rbx
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparserheader.rs
call sym.memexec::peloader::winapi::load_library::h47fe96a14864733f
cmp dword [rsp + 0x40], 0
jne 0x1400051d9
mov rdx, qword [rsp + 0x48]
mov r9d, 0x16
lea rcx, [rsp + 0x58]
lea r8, [0x14075a870]
call sym.memexec::peloader::winapi::get_proc_address_by_name::he07d7bc495b69359
cmp dword [rsp + 0x58], 0
jne 0x1400051e1
mov r15, qword [rsp + 0x60]
mov qword [0x14078e040], r15
jmp 0x140004fe0
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x4c], 0
je 0x140005130
mov eax, dword [rax + 0x48]
test rax, rax
je 0x140005130
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
mov rbx, qword [rsp + 0x30]
je 0x140005135
add rsi, 8
nop word cs:[rax + rax]
mov rcx, rdi
mov edx, 1
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x140005110
mov rdi, qword [rsp + 0x38]
jmp 0x140005135
mov rbx, qword [rsp + 0x30]
mov qword [rbx + 8], rdi
mov dword [rbx], 0
jmp 0x140005209
mov rdx, qword [rsp + 0x48]
lea r8, [0x14075a859]
lea rcx, [rsp + 0x58]
mov r9d, 0x17
call sym.memexec::peloader::winapi::get_proc_address_by_name::he07d7bc495b69359
cmp dword [rsp + 0x58], 0
je 0x1400051b5
movq xmm0, qword [rsp + 0x5c]
movq qword [r15 + 4], xmm0
mov dword [r15], 1
jmp 0x140005209
mov eax, 5
movd xmm6, eax
jmp 0x1400051f9
movq xmm6, qword [rsp + 0x5c]
jmp 0x1400051f9
mov rsi, qword [rsp + 0x60]
mov qword [0x14078e038], rsi
jmp 0x140004b71
movd xmm1, eax
movdqa xmm0, xmmword [0x14075a840]
punpckldq xmm0, xmm1
jmp 0x1400051e7
mov rsi, qword [rsp + 0x60]
mov qword [0x14078e038], rsi
jmp 0x140004bff
movd xmm0, r12d
movdqa xmm6, xmmword [0x14075a830]
punpckldq xmm6, xmm0
jmp 0x1400051f9
movq xmm0, qword [rsp + 0x44]
jmp 0x1400051e7
movq xmm0, qword [rsp + 0x5c]
mov rax, qword [rsp + 0x30]
movq qword [rax + 4], xmm0
jmp 0x140005203
movq xmm6, qword [rsp + 0x44]
mov rax, qword [rsp + 0x30]
movq qword [rax + 4], xmm6
mov dword [rax], 1
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret