Function at 0x140002150
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
mov rax, qword [0x140024018]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rdi, rcx
lea r8d, [r14 + 0x1c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x1400023bd
xorps xmm0, xmm0
lea r8, [rbp - 0x40]
xor r13d, r13d
mov eax, 0x5a4d
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x40], ax
mov rdx, rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r13
movups xmmword [rbp - 0x10], xmm0
lea r9d, [r13 + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rbp - 4], 0x40
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], 0x40
jne 0x1400023bd
xor edx, edx
lea rcx, [rbp]
mov r8d, pe_nt_image_headers64
lea rbx, [rsi + 0x40]
call fcn.140004300
mov eax, 1
mov dword [rbp], 0x4550
mov word [rbp + 6], ax
lea r8, [rbp]
mov eax, 0x20b
mov dword [rbp + 0x14], 0x200000f0
mov word [rbp + 0x18], ax
mov r9d, pe_nt_image_headers64
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], 0x108
jne 0x1400023bd
movabs rax, 0x72756f7465642e
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x50], rax
lea r9d, [r13 + 0x28]
lea eax, [rbx + 0x108]
mov dword [rsp + 0x74], r13d
sub eax, esi
lea r8, [rsp + 0x50]
add eax, 0x28
lea esi, [r14 + 0x58]
mov dword [rsp + 0x5c], eax
lea rdx, [rbx + 0x108]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x60], esi
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov rcx, rdi
movdqu xmmword [rsp + 0x64], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], 0x28
jne 0x1400023bd
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x40
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rsp + 0x30]
movdqa xmmword [rbp - 0x60], xmm1
lea r9d, [r13 + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x130]
mov dword [rbp - 0x7c], 0x727444
mov rcx, rdi
mov dword [rbp - 0x78], 0x40
mov dword [rbp - 0x74], esi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], 0x40
jne 0x1400023bd
movups xmm0, xmmword [r12]
lea eax, [r14 + 0x18]
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x38], eax
lea r9d, [r13 + 0x18]
lea rax, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x170]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], 0x18
jne 0x1400023bd
lea rcx, [rsp + 0x30]
mov r9d, r14d
mov qword [rsp + 0x20], rcx
lea rdx, [rbx + 0x188]
mov rcx, rdi
mov r8, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400023bd
cmp qword [rsp + 0x30], r14
jne 0x1400023bd
lea eax, [r13 + 1]
jmp 0x1400023bf
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140003650
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret