Function at 0x180006420
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x18003f040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
xor r13d, r13d
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea ecx, [r13 + 0x48]
call fcn.18000e220
mov r12, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.180005ac0
mov r14, rax
test rax, rax
je 0x18000669c
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x1800064b1
dec rcx
mov rdx, rbx
call fcn.180004480
not eax
xor edx, edx
mov ecx, eax
call fcn.18000c810
mov r15, rax
test rax, rax
je 0x18000669c
mov eax, 0x5a4d
cmp word [r15], ax
je 0x1800064f2
cmp word [r14], ax
jne 0x18000669c
movsxd rcx, dword [r15 + 0x3c]
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
cmp dword [rcx + r15], 0x4550
je 0x180006513
cmp dword [rsi], 0x4550
jne 0x18000669c
mov eax, dword [rsi + 0x50]
mov qword [rbp + 7], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, [rbp - 1]
lea rcx, [r8 - 1]
call fcn.18000dd47
test eax, eax
jne 0x18000669c
mov r8d, dword [rsi + 0x54]
mov rdx, r14
mov rcx, qword [rbp - 1]
call fcn.180029110
movsxd rbx, dword [r14 + 0x3c]
add rbx, 0x11c
mov edi, r13d
cmp r13w, word [rsi + 6]
jae 0x180006599
add rbx, r14
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x18000658b
mov r8d, eax
mov edx, dword [rbx]
add rdx, r14
mov ecx, dword [rbx - 8]
add rcx, qword [rbp - 1]
call fcn.180029110
inc edi
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp edi, eax
jb 0x180006570
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000ddaf
mov r14, r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov ecx, 0x18
call fcn.18000e220
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov ecx, 0x18
call fcn.18000e220
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
call fcn.180007160
nop
mov rsi, qword [rbp - 0x31]
mov rax, qword [rsi + 8]
mov qword [rax], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x180006635
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000e25c
mov rcx, rbx
test rbx, rbx
jne 0x180006620
mov edx, 0x18
mov rcx, rsi
call fcn.18000e25c
nop
mov rax, qword [rdi + 8]
mov qword [rax], r13
mov rcx, qword [rdi]
test rcx, rcx
je 0x180006667
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18000e25c
mov rcx, rbx
test rbx, rbx
jne 0x180006652
mov edx, 0x18
mov rcx, rdi
call fcn.18000e25c
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.180005d50
mov r9, qword [rbp - 0x11]
add r9, 0x28
cmp byte [rbp - 9], 1
cmovne r9, r13
mov rdx, r15
mov rcx, qword [rbp - 1]
call fcn.180005fd0
cmp qword [rbp - 1], 0
je 0x1800066bd
mov r9d, 0x8000
lea r8, [rbp + 7]
lea rdx, [rbp - 1]
mov rcx, 0xffffffffffffffff
call fcn.18000dd54
test r14, r14
je 0x1800066d1
mov rdx, r14
mov rcx, 0xffffffffffffffff
call fcn.18000ddaf
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1800066df
call fcn.18000dd3a
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800066ee
call fcn.18000dd3a
nop
mov rax, qword [r12 + 8]
mov qword [rax], r13
mov rdi, qword [r12]
test rdi, rdi
je 0x180006767
nop
mov rsi, qword [rdi]
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x49], rbx
mov rdx, qword [rbx + 0x20]
cmp rdx, 0xf
jbe 0x180006742
inc rdx
mov rcx, qword [rbx + 8]
cmp rdx, 0x1000
jb 0x18000673d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800067a1
mov rcx, r8
call fcn.18000e25c
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x48
mov rcx, rdi
call fcn.18000e25c
mov rdi, rsi
test rsi, rsi
jne 0x180006700
mov edx, 0x48
mov rcx, r12
call fcn.18000e25c
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18000e0e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180018390
int3