Function at 0x140001000
Capabilities:
Access pe header

Disassembly:
push rbx
push rsi
sub rsp, 0x48
mov rsi, rdx
mov rbx, rcx
call sub.ntdll.dll_RtlImageNtHeader
mov r8d, dword [rax + 0x50]
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x78]
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
lea rdx, [rsp + 0x70]
call sub.ntdll.dll_NtAllocateVirtualMemory
test eax, eax
jns 0x14000105c
xor eax, eax
add rsp, 0x48
pop rsi
pop rbx
ret
mov r8, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
call sub.ntdll.dll_memcpy
mov r14, qword [rsp + 0x70]
mov rcx, r14
call sub.ntdll.dll_RtlImageNtHeader
mov r15, rsi
mov rbp, rax
mov edx, dword [rax + 0xb0]
mov ecx, dword [rax + 0xb4]
sub r15, qword [rax + 0x30]
add rcx, rdx
add rcx, r14
lea rdi, [rdx + r14]
cmp rdi, rcx
jae 0x1400010f8
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rdi + 4]
lea r8, [rdi + 8]
mov ecx, dword [rdi]
sub rdx, 8
shr rdx, 1
add rcx, r14
mov r9, r15
call sub.ntdll.dll_LdrProcessRelocationBlock
mov eax, dword [rdi + 4]
mov ecx, dword [rbp + 0xb0]
add rdi, rax
mov eax, dword [rbp + 0xb4]
add rax, r14
add rcx, rax
cmp rdi, rcx
jb 0x1400010c0
mov rcx, rbx
call sub.ntdll.dll_RtlImageNtHeader
mov rcx, rbx
call sub.ntdll.dll_RtlImageNtHeader
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x60]
add rax, 0xd8
je 0x140001273
mov ecx, dword [rax]
test ecx, ecx
je 0x140001273
cmp dword [rax + 4], 0x140
jb 0x140001273
mov rdx, qword [rsp + 0x70]
lea r8, [rcx + rbx]
mov r10, qword [r8 + 0x70]
lea r9, [rcx + rdx]
test r10, r10
je 0x14000117a
mov r10, qword [r10]
cmp r10, rbx
jb 0x14000116a
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x14000117a
mov rax, qword [r9 + 0x70]
sub rax, rsi
mov qword [rax + rdx], r10
mov rdx, qword [rsp + 0x70]
mov r10, qword [r8 + 0x78]
test r10, r10
je 0x1400011a8
mov r10, qword [r10]
cmp r10, rbx
jb 0x140001198
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x1400011a8
mov rax, qword [r9 + 0x78]
sub rax, rsi
mov qword [rax + rdx], r10
mov rdx, qword [rsp + 0x70]
mov r10, qword [r8 + 0x118]
test r10, r10
je 0x1400011dc
mov r10, qword [r10]
cmp r10, rbx
jb 0x1400011c9
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x1400011dc
mov rax, qword [r9 + 0x118]
sub rax, rsi
mov qword [rax + rdx], r10
mov rdx, qword [rsp + 0x70]
mov r10, qword [r8 + 0x120]
test r10, r10
je 0x140001210
mov r10, qword [r10]
cmp r10, rbx
jb 0x1400011fd
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x140001210
mov rax, qword [r9 + 0x120]
sub rax, rsi
mov qword [rax + rdx], r10
mov rdx, qword [rsp + 0x70]
mov r10, qword [r8 + 0x128]
test r10, r10
je 0x140001244
mov r10, qword [r10]
cmp r10, rbx
jb 0x140001231
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x140001244
mov rax, qword [r9 + 0x128]
sub rax, rsi
mov qword [rax + rdx], r10
mov rdx, qword [rsp + 0x70]
mov r8, qword [r8 + 0x138]
test r8, r8
je 0x140001278
mov r8, qword [r8]
cmp r8, rbx
jb 0x140001265
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r8, rcx
jb 0x140001278
mov rax, qword [r9 + 0x138]
sub rax, rsi
mov qword [rax + rdx], r8
mov rdx, qword [rsp + 0x70]
mov rax, rdx
add rsp, 0x48
pop rsi
pop rbx
ret