Function at 0x140064b20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3c0
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
lea rdx, [0x14014edb8]
lea rcx, [rsp + 0x38]
call fcn.140003570
nop
lea rdx, [rsp + 0x38]
lea rcx, [0x1401d7c10]
call fcn.1400bc030
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x38]
call fcn.140003860
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140064b8f
lea rcx, str._nGetNtHeaderInfo
call fcn.14000ad70
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x3e0]
mov rax, qword [rsp + 0x3d8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x9c]
mov dword [rax + 0x584], ecx
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0xf8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x3d0]
mov eax, dword [rax + 0x584]
mov rcx, qword [rsp + 0x3e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
lea r8, [rsp + 0x2b0]
mov rdx, rax
mov rax, qword [rsp + 0x3d8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx eax, word [rsp + 0x60]
cmp eax, 0x5a4d
jne 0x140064c58
mov byte [rsp + 0x30], 1
cmp dword [rsp + 0x2b0], 0x4550
jne 0x140064c6a
mov byte [rsp + 0x31], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140064c7c
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x140064c8b
mov rax, qword [rsp + 0x3d0]
mov byte [rax + 0x120], 1
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x2e8]
mov dword [rax + 0x15c], ecx
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x3d0]
movzx ecx, word [rsp + 0x2b4]
mov word [rax + 0x5d2], cx
movzx eax, word [rsp + 0x2c8]
cmp eax, 0x10b
jne 0x140064e03
mov rax, qword [rsp + 0x3d0]
add rax, 0x128
lea rdx, [0x14014ee10]
mov rcx, rax
call fcn.1400097c0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0xf8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x3d0]
mov eax, dword [rax + 0x584]
mov rcx, qword [rsp + 0x3e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
lea r8, [rsp + 0xa0]
mov rdx, rax
mov rax, qword [rsp + 0x3d8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0xf0]
mov dword [rax + 0x150], ecx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0xc0]
mov dword [rax + 0x148], ecx
mov rax, qword [rsp + 0x3d0]
movzx ecx, word [rsp + 0xfe]
mov word [rax + 0x14c], cx
mov rax, qword [rsp + 0x3d0]
movzx ecx, word [rsp + 0xe4]
mov word [rax + 0x14e], cx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0xf8]
mov dword [rax + 0x154], ecx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0xc8]
mov dword [rax + 0x48], ecx
mov eax, 8
imul rax, rax, 0xe
mov eax, dword [rsp + rax + 0x118]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140064df2
mov rax, qword [rsp + 0x3d0]
mov byte [rax + 0x64], 1
jmp 0x140064dfe
mov rax, qword [rsp + 0x3d0]
mov byte [rax + 0x64], 0
jmp 0x140064f2f
mov rax, qword [rsp + 0x3d0]
add rax, 0x128
lea rdx, [0x14014ef70]
mov rcx, rax
call fcn.1400097c0
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x3d0]
mov eax, dword [rax + 0x584]
mov rcx, qword [rsp + 0x3e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0x1a0]
mov rdx, rax
mov rax, qword [rsp + 0x3d8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x1f0]
mov dword [rax + 0x150], ecx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x1c0]
mov dword [rax + 0x148], ecx
mov rax, qword [rsp + 0x3d0]
movzx ecx, word [rsp + 0x1fe]
mov word [rax + 0x14c], cx
mov rax, qword [rsp + 0x3d0]
movzx ecx, word [rsp + 0x1e4]
mov word [rax + 0x14e], cx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x1f8]
mov dword [rax + 0x154], ecx
mov rax, qword [rsp + 0x3d0]
mov ecx, dword [rsp + 0x1c8]
mov dword [rax + 0x48], ecx
mov eax, 8
imul rax, rax, 0xe
mov eax, dword [rsp + rax + 0x228]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140064f23
mov rax, qword [rsp + 0x3d0]
mov byte [rax + 0x64], 1
jmp 0x140064f2f
mov rax, qword [rsp + 0x3d0]
mov byte [rax + 0x64], 0
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x3c0
pop rdi
ret