Function at 0x180006f50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
jle 0x180006fcd
push rdi
push rbx
nop
pop rbx
pop rdi
jg 0x180006fcd
int1
nop
int1
nop
mov esi, 0xe149eb90
test byte [rbx - 0x1614d645], bh
mov ebx, 0xd6906cae
invalid
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180006fe6
mov eax, 1
jmp 0x180007264
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jge 0x18000702b
push rbp
push rsi
nop
pop rsi
pop rbp
jl 0x18000702b
sub dword [rcx - 0x52], ecx
jmp 0x104be93f9
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180007042
mov eax, 1
jmp 0x180007264
mov dword [rsp + 0x20], 0
jmp 0x180007056
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x180007239
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
xor byte [rax - 0x73], cl
add dword [rax], r11d
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x40], rax
js 0x1800070b8
nop
jns 0x1800070b8
sub ecx, esi
jmp 0x180007076
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [0x18001d018]
jg 0x1800070f7
nop
jle 0x1800070f7
and eax, dword [rax + rdx*4 + 0x522984d6]
test byte [rsi - 0x147b0e0f], ch
mov esi, 0xd6e12384
mov esi, 0xeb4949ae
jmp 0x180007155
mov rax, qword [rsp + 0x40]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [0x18001d000]
jne 0x18000713c
push rsp
push rbx
push rsi
nop
pop rsi
pop rbx
pop rsp
je 0x18000713c
mov ebx, 0xbe4923bb
test byte [rsi - 0x4451160f], bh
int1
int1
jmp 0x1a9f22d1e
ja 0x180007168
push rbx
push rbx
nop
pop rbx
pop rbx
jbe 0x180007168
int1
scasb al, byte [rdi]
int1
int1
mov ebx, 0x8452bb90
mov ebx, 0x2929d6be
int1
mov esi, 0xf12929d6
loope 0x180007105
jmp 0x18000717d
lea rdx, [0x180019c80]
lea rcx, [rsp + 0x50]
call qword [0x18001cfa8]
test eax, eax
jne 0x180007234
test dword [rdx - 0x39000000], esi
and al, 0x24
add dword [rax], eax
mov dword [rsp + 0x24], 1
add byte [rax], al
jo 0x1800071b6
push rdi
push rbp
nop
pop rbp
pop rdi
jno 0x1800071b6
loope 0x180007150
loope 0x180007188
mov ebx, 0x29ebf184
invalid
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
je 0x1800071fa
push rbp
nop
pop rbp
jne 0x1800071fa
insb byte [rdi], dx
and esp, dword [rbx]
push rdx
int1
mov esi, 0x49f12952
nop
insb byte [rdi], dx
int1
invalid
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jg 0x180007232
push rsp
push rbp
push rsi
pop rsi
pop rbp
pop rsp
jle 0x180007232
push rdx
insb byte [rdi], dx
and ebp, dword [rsp + rax*4 - 0x15]
push rdx
test cl, dh
nop
mov esi, 0x2390e1f1
mov esi, 0xbe90f1eb
int1
test byte [rbx - 0x51141417], bh
push rdx
invalid
jmp 0x180007239
jmp 0x18000704c
cmp dword [rsp + 0x24], 0
jne 0x180007247
mov eax, 1
jmp 0x180007264
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x68
ret