Function at 0x180017450
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x10]
mov rbx, rcx
test rax, rax
jne 0x180017489
mov eax, 0xc0000141
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x70
pop rbx
ret
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180017744
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x180017744
mov eax, 0x20b
mov qword [rsp + 0x90], rsi
mov r9, rcx
mov qword [rsp + 0x98], rdi
cmp word [rcx + 0x18], ax
jne 0x1800174e4
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r8b, 1
jmp 0x1800174f5
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r8b, r8b
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r10d, word [rcx + 0x5c]
mov dword [rbx + 0x54], r10d
movzx eax, word [r9 + rax]
mov dword [rbx + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r8b, r8b
je 0x18001753e
add rcx, 0xf8
jmp 0x180017545
add rcx, 0xe8
mov eax, dword [rcx]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
test eax, eax
je 0x1800176a5
mov edx, eax
mov rcx, rbx
call fcn.180017760
test rax, rax
je 0x1800176a5
test byte [rax + 0x10], 1
je 0x1800176a5
sub eax, dword [rbx + 0x10]
lea rsi, [rbx + 0x138]
add eax, 0x10
mov byte [rbx + 0x1b], 1
lea rdx, [rbx + 0xf8]
mov dword [rbx + 0x58], eax
cmp rsi, rdx
je 0x1800175ac
cmp qword [rdx + 0x18], 8
mov r8, qword [rdx + 0x10]
jb 0x1800175a4
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.180005760
cmp qword [rsi + 0x30], 0
lea r14, [rsi + 0x30]
jne 0x1800175ee
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1800176a9
xor edx, edx
mov qword [rsp + 0x20], r14
lea r9, [0x1800e2c30]
lea rcx, [0x1800e2c10]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1800176a9
cmp qword [rsi + 0x38], 0
lea r15, [rsi + 0x38]
jne 0x18001767d
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov rcx, qword [r14]
mov rax, qword [rcx]
jb 0x180017610
mov rdx, qword [rsi]
lea r9, [0x1800e2c00]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + 0x20]
cmp eax, 0x80131110
jne 0x180017679
mov rcx, qword [r14]
lea r8, [rsp + 0x38]
mov eax, 0x13
mov dword [rsp + 0x40], 4
mov word [rsp + 0x38], ax
lea rdx, [0x1800e2c20]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x1800176a9
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov rcx, qword [r14]
mov rax, qword [rcx]
jb 0x180017667
mov rdx, qword [rsi]
lea r9, [0x1800e2c00]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + 0x20]
test eax, eax
js 0x1800176a9
cmp qword [rsi + 0x40], 0
lea r8, [rsi + 0x40]
jne 0x18001769b
mov rcx, qword [r15]
lea rdx, [0x1800e2c40]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1800176a9
mov rcx, rsi
call fcn.1800256a0
jmp 0x1800176a9
mov byte [rbx + 0x1b], 0
mov rax, qword [rbx + 0x20]
xor esi, esi
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp si, word [rax + 6]
jae 0x18001771f
mov qword [rsp + 0x88], rbp
nop word [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x1800176f9
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x180017705
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.180017a50
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x1800176d0
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x98]
xor eax, eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x70
pop rbx
ret
mov eax, 0xc000007b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180093c30
add rsp, 0x70
pop rbx
ret