Function at 0x18006e2c0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0xe8], rax
xorps xmm4, xmm4
movabs rax, 0xffffffffffffff40
movaps xmmword [rbp + rax - 0x20], xmm4
movaps xmmword [rbp + rax - 0x10], xmm4
movaps xmmword [rax + rbp], xmm4
add rax, 0x30
jne 0x18006e2e9
mov qword [rbp - 0x20], rax
mov rsi, rcx
lea rcx, [0x1802942a8]
call fcn.1800042f0
mov rdi, rax
mov rcx, rdi
mov rdx, rsi
mov r8d, 1
call fcn.1800fa860
mov qword [rbp - 0xe8], rdi
lea rcx, [0x180293d50]
call fcn.1800042f0
mov rsi, rax
call fcn.180001e3f
mov r8, qword [rax + 8]
mov rdx, rdi
mov rcx, rsi
xor r9d, r9d
call fcn.1800f87c0
mov qword [rbp - 0xf0], rsi
lea rdx, [rbp - 0x30]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rcx, qword [rbp - 0x30]
cmp dword [rbp - 0x28], 2
jl 0x18006e5e7
cmp word [rcx], 0x5a4d
je 0x18006e38b
mov dword [rbp - 0x1c], 4
jmp 0x18006e622
mov rcx, rdi
mov edx, 0x3c
xor r8d, r8d
call fcn.1800fadf0
lea rdx, [rbp - 0x40]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rdx, qword [rbp - 0x40]
cmp dword [rbp - 0x38], 4
jl 0x18006e5e7
mov edx, dword [rdx]
movsxd rdx, edx
mov rcx, rdi
xor r8d, r8d
call fcn.1800fadf0
lea rdx, [rbp - 0x50]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rdx, qword [rbp - 0x50]
cmp dword [rbp - 0x48], 4
jl 0x18006e5e7
cmp dword [rdx], 0x4550
je 0x18006e3ff
mov dword [rbp - 0x1c], 4
jmp 0x18006e62c
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rdx, qword [rbp - 0x60]
cmp dword [rbp - 0x58], 2
jl 0x18006e5e7
movzx ebx, word [rdx]
lea rdx, [rbp - 0x70]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rdx, qword [rbp - 0x70]
cmp dword [rbp - 0x68], 2
jl 0x18006e5e7
cmp word [rdx], dx
lea rdx, [rbp - 0x80]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rdx, qword [rbp - 0x80]
cmp dword [rbp - 0x78], 4
jl 0x18006e5e7
cmp dword [rdx], edx
lea rdx, [rbp - 0x90]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rdx, qword [rbp - 0x90]
cmp dword [rbp - 0x88], 4
jl 0x18006e5e7
cmp dword [rdx], edx
lea rdx, [rbp - 0xa0]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rdx, qword [rbp - 0xa0]
cmp dword [rbp - 0x98], 4
jl 0x18006e5e7
cmp dword [rdx], edx
lea rdx, [rbp - 0xb0]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rdx, qword [rbp - 0xb0]
cmp dword [rbp - 0xa8], 2
jl 0x18006e5e7
cmp word [rdx], dx
lea rdx, [rbp - 0xc0]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rdx, qword [rbp - 0xc0]
cmp dword [rbp - 0xb8], 2
jl 0x18006e5e7
cmp word [rdx], dx
lea rdx, [rbp - 0xd0]
mov rcx, rsi
mov r8d, 2
call fcn.1800f9060
mov rdx, qword [rbp - 0xd0]
cmp dword [rbp - 0xc8], 2
jl 0x18006e5e7
movzx edx, word [rdx]
xor ecx, ecx
cmp edx, 0x20b
sete cl
cmp edx, 0x10b
je 0x18006e568
cmp edx, 0x20b
je 0x18006e568
mov dword [rbp - 0x1c], 4
jmp 0x18006e636
test ecx, ecx
jne 0x18006e573
mov edx, 0x60
jmp 0x18006e578
mov edx, 0x70
add edx, 0xfffffffe
movsxd rdx, edx
mov rcx, rdi
mov r8d, 1
call fcn.1800fadf0
mov rcx, rdi
mov edx, 8
mov r8d, 1
call fcn.1800fadf0
lea rdx, [rbp - 0xe0]
mov rcx, rsi
mov r8d, 4
call fcn.1800f9060
mov rcx, qword [rbp - 0xe0]
cmp dword [rbp - 0xd8], 4
jl 0x18006e5e7
cmp dword [rcx], 0
setne cl
movzx ecx, cl
cmp ebx, 0x14c
je 0x18006e5f2
cmp ebx, 0x8664
je 0x18006e601
mov edx, 4
mov dword [rbp - 0x1c], edx
jmp 0x18006e613
mov ecx, 0x29
call fcn.1800c30e0
int3
test ecx, ecx
jne 0x18006e5fd
mov edx, 2
jmp 0x18006e5ff
xor edx, edx
jmp 0x18006e5e2
test ecx, ecx
jne 0x18006e60c
mov edx, 3
jmp 0x18006e611
mov edx, 1
jmp 0x18006e5e2
mov rcx, rsi
mov edx, 1
call fcn.1800f88f0
jmp 0x18006e677
mov rcx, rsp
call fcn.18006e68f
jmp 0x18006e640
mov rcx, rsp
call fcn.18006e68f
jmp 0x18006e64a
mov rcx, rsp
call fcn.18006e68f
jmp 0x18006e654
mov rcx, rsp
call fcn.18006e6b2
jmp 0x18006e680
mov rcx, rsp
call fcn.18006e6b2
jmp 0x18006e680
mov rdi, qword [rbp - 0xe8]
mov byte [rdi + 0x2b], 0
mov byte [rdi + 0x29], 0
mov byte [rdi + 0x28], 0
xor ecx, ecx
mov qword [rdi + 0x30], rcx
mov rcx, rdi
call fcn.180093620
jmp 0x18006e680
mov rcx, rsp
call fcn.18006e6b2
nop
mov eax, dword [rbp - 0x1c]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
ret