Function at 0x140001120
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 0x14000117c
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 0x140001218
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 0x1400011e0
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 0x140001393
mov ecx, dword [rax]
test ecx, ecx
je 0x140001393
cmp dword [rax + 4], 0x140
jb 0x140001393
mov rdx, qword [rsp + 0x70]
lea r8, [rcx + rbx]
mov r10, qword [r8 + 0x70]
lea r9, [rcx + rdx]
test r10, r10
je 0x14000129a
mov r10, qword [r10]
cmp r10, rbx
jb 0x14000128a
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x14000129a
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 0x1400012c8
mov r10, qword [r10]
cmp r10, rbx
jb 0x1400012b8
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x1400012c8
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 0x1400012fc
mov r10, qword [r10]
cmp r10, rbx
jb 0x1400012e9
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x1400012fc
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 0x140001330
mov r10, qword [r10]
cmp r10, rbx
jb 0x14000131d
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x140001330
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 0x140001364
mov r10, qword [r10]
cmp r10, rbx
jb 0x140001351
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r10, rcx
jb 0x140001364
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 0x140001398
mov r8, qword [r8]
cmp r8, rbx
jb 0x140001385
mov rcx, qword [rsp + 0x78]
add rcx, rbx
cmp r8, rcx
jb 0x140001398
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