Function at 0x180006a50
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r12
push r13
lea rbp, [rsp - 0x2a8]
sub rsp, 0x3a8
mov rax, qword [0x180163880]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r13d, r13d
mov eax, 0x5a4d
mov dword [rbp + 0xf0], r13d
mov r12, rcx
mov edi, r13d
cmp word [rcx], ax
jne 0x180006d58
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x180006d58
mov qword [0x1801672e0], r13
mov rcx, qword [rax + rcx + 0xa0]
mov edx, ecx
mov qword [0x1801672e8], r13
mov qword [0x1801672f0], r13
mov qword [0x180167508], r13
add rdx, r12
je 0x180006d58
shr rcx, 0x20
mov qword [0x1801672e0], r12
mov eax, dword [rax + r12 + 0x50]
mov qword [0x180167508], rcx
lea rcx, [rbp - 0x80]
mov qword [0x1801672f0], rdx
mov rdx, r12
mov qword [rsp + 0x3e8], r14
mov qword [0x1801672e8], rax
call fcn.18009bb70
lea rcx, [rbp + 0x120]
lea edx, [r13 + 2]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x180006b20
movups xmm0, xmmword [rax]
mov byte [rbp + 0x110], dil
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
mov rax, qword [rax + 0x60]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
mov qword [rcx + 0x60], rax
lea rcx, [rbp + 0xf0]
mov r14, qword [rbp + 0x270]
lea rax, [0x180006130]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x108], rax
lea rax, str.RaiseException
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x108]
mov qword [rbp + 0x100], rax
lea rax, str.kernel32.dll
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x110]
mov qword [rbp + 0xf8], rax
mov rax, r13
mov qword [rsp + 0x50], rcx
mov qword [rbp + 0xf0], rax
test r14, r14
je 0x180006cf3
add r14, 0x10
cmp dword [r14], eax
je 0x180006cf3
mov qword [rsp + 0x3d8], rbx
mov qword [rsp + 0x3e0], rsi
mov qword [rsp + 0x3a0], r15
mov r15, qword [rbp + 0x280]
nop dword [rax]
mov eax, dword [r14 - 4]
add rax, r15
je 0x180006cd4
mov ebx, dword [r14 - 0x10]
add rbx, r15
mov rax, qword [rbx]
test rax, rax
je 0x180006ccb
mov rsi, r13
jns 0x180006c92
test dil, 1
je 0x180006cba
and edi, 0xfffffffe
lea rcx, [rsp + 0x60]
call fcn.1800053d0
jmp 0x180006cba
mov edx, dword [r14]
lea rcx, [rsp + 0x30]
add rdx, rsi
mov r9d, eax
add rdx, r15
add r9, 2
mov qword [rsp + 0x20], rdx
add r9, r15
xor edx, edx
call fcn.18009bce0
test al, al
je 0x180006ccb
mov rax, qword [rbx + 8]
add rbx, 8
add rsi, 8
test rax, rax
jne 0x180006c7b
add r14, 0x14
cmp dword [r14], r13d
jne 0x180006c60
mov rax, qword [rbp + 0xf0]
mov r15, qword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x3e0]
mov rbx, qword [rsp + 0x3d8]
mov rcx, r12
mov qword [0x180167500], rax
call fcn.180006730
mov r14, qword [rsp + 0x3e8]
test al, al
jne 0x180006d42
mov r8d, 3
mov dword [rbp + 0xf0], r13d
lea r9, [rbp + 0xf0]
mov dl, 1
mov rcx, r12
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToData]
mov edx, dword [rbp + 0xf0]
mov r8, r12
shr edx, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
lea rdx, [0x180006270]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov al, 1
jmp 0x180006d5a
xor al, al
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.180104980
add rsp, 0x3a8
pop r13
pop r12
pop rdi
pop rbp
ret