Function at 0x180013010
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
jno 0x18001308d
jo 0x18001308d
out 0xaf, eax
mov esi, 0x2cbe2ae7
sub al, 0xbe
sub al, 0xe1
scasd eax, dword [rdi]
sbb ebp, dword [rdi - 0x41278e47]
sbb ebp, dword [rdx]
sbb esp, edi
out 0xb9, eax
scasd eax, dword [rdi]
invalid
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800130a6
mov eax, 1
jmp 0x180013324
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
jae 0x1800130eb
push rsi
push rsp
pop rsp
pop rsi
jb 0x1800130eb
invalid
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180013102
mov eax, 1
jmp 0x180013324
mov dword [rsp + 0x20], 0
jmp 0x180013116
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 0x1800132f9
xor byte [rdi], cl
mov bh, 0x40
invalid
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x40], rax
je 0x180013178
push rdx
push rdx
nop
pop rdx
pop rdx
jne 0x180013178
loope 0x180013110
loope 0x18001311a
invalid
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [0x180019cd8]
js 0x1800131b7
push rbp
push rdx
nop
pop rdx
pop rbp
jns 0x1800131b7
invalid
sub al, 0x2e
invalid
mov rax, qword [rsp + 0x40]
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [0x180019d70]
jle 0x1800131fc
push rdx
push rbx
push rdi
pop rdi
pop rbx
pop rdx
jg 0x1800131fc
rcr dword [rbx], 0xe1
jno 0x1800131a0
sbb edi, dword [rcx - 0x2741d13f]
neg edi
loope 0x1800131a2
scasd eax, dword [rdi]
fsubr dword [rdi + 0x2a71c12a]
mov ecx, 0xdfe7df2a
out 0xd8, eax
sub al, 0xe1
mov esi, 0x742a75af
sub al, bl
jno 0x18001322d
jne 0x180013228
je 0x180013228
fdiv dword [rcx + 0x2a]
invalid
lea rdx, [0x180019f50]
add byte [rax], al
lea rcx, [rsp + 0x50]
call qword [0x18001a010]
test eax, eax
jne 0x1800132f4
mov dword [rsp + 0x24], 1
jbe 0x180013276
push rsp
pop rsp
ja 0x180013276
fcomp dword [rbx]
sub al, 0xf7
shl dword [rdx + 0x62], 0xd8
sbb ebx, eax
fsubr dword [rdi]
sub al, 0x2a
mov esi, 0xd8afc1e7
loope 0x18001325c
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
jae 0x1800132ba
push rbp
push rdx
push rsi
push rcx
pop rcx
pop rsi
pop rdx
pop rbp
jb 0x1800132ba
scasd eax, dword [rdi]
invalid
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jbe 0x1800132f2
push rdx
pop rdx
ja 0x1800132f2
invalid
jmp 0x1800132f9
jmp 0x18001310c
cmp dword [rsp + 0x24], 0
jne 0x180013307
mov eax, 1
jmp 0x180013324
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