Function at 0x140018e30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x140094060]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140018e69
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x140018e69
test rcx, rcx
jle 0x140018e65
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rdi
mov r9, qword [rbx + 0x10]
test r9, r9
jne 0x140018e7c
mov eax, 0xc0000141
jmp 0x140019167
mov eax, 0x5a4d
cmp word [r9], ax
jne 0x140019162
movsxd rdx, dword [r9 + 0x3c]
add rdx, r9
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rdx
cmp dword [rdx], 0x4550
jne 0x140019162
mov eax, 0x20b
mov qword [rsp + 0x90], rsi
mov r10, rdx
cmp word [rdx + 0x18], ax
jne 0x140018ed0
mov byte [rbx + 0x19], 1
lea rdi, [rdx + 0x108]
mov rax, qword [rdx + 0x30]
mov r8b, 1
jmp 0x140018ee1
mov byte [rbx + 0x19], 0
lea rdi, [rdx + 0xf8]
mov eax, dword [rdx + 0x34]
xor r8b, r8b
mov qword [rbx + 0x30], rax
mov eax, dword [rdx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rdx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rdx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rdx + 0x5c]
mov dword [rbx + 0x54], r11d
movzx eax, word [rax + r10]
mov dword [rbx + 0x5c], eax
movzx eax, word [rdx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r8b, r8b
je 0x140018f2a
add rdx, 0xf8
jmp 0x140018f31
add rdx, 0xe8
mov eax, dword [rdx]
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x60], r15
test eax, eax
je 0x140018f7b
cmp byte [rbx + 0x18], 0
mov r8d, eax
je 0x140018fef
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x140018f7b
nop
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x140018f72
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x140018fe0
add rcx, 0x28
cmp rcx, r9
jne 0x140018f60
mov byte [rbx + 0x1b], 0
mov rax, qword [rbx + 0x20]
xor esi, esi
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x98]
cmp si, word [rax + 6]
jae 0x140019156
mov qword [rsp + 0x88], rbp
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x14001912c
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 0x140019138
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, r8
add rax, qword [rbx + 0x10]
jmp 0x140018ff2
add rax, r9
test rax, rax
je 0x140018f7b
test byte [rax + 0x10], 1
je 0x140018f7b
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
mov rcx, rsi
call fcn.14000fb20
cmp qword [rsi + 0x30], 0
lea r14, [rsi + 0x30]
jne 0x140019066
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140018f7f
xor edx, edx
mov qword [rsp + 0x20], r14
lea r9, [0x140085828]
lea rcx, [0x140080c18]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140018f7f
cmp qword [rsi + 0x38], 0
lea r15, [rsi + 0x38]
jne 0x1400190fd
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov rcx, qword [r14]
mov rax, qword [rcx]
jb 0x140019088
mov rdx, qword [rsi]
lea r9, [0x140080c08]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + 0x20]
cmp eax, 0x80131110
jne 0x1400190f5
mov rcx, qword [r14]
lea r8, [rsp + 0x38]
mov eax, 0x13
mov dword [rsp + 0x40], 4
mov word [rsp + 0x38], ax
lea rdx, [0x140085818]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x140018f7f
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov rcx, qword [r14]
mov rax, qword [rcx]
jb 0x1400190e3
mov rdx, qword [rsi]
lea r9, [0x140080c08]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + 0x20]
test eax, eax
js 0x140018f7f
cmp qword [rsi + 0x40], 0
lea r8, [rsi + 0x40]
jne 0x14001911f
mov rcx, qword [r15]
lea rdx, [0x140085850]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140018f7f
mov rcx, rsi
call fcn.14003adb0
jmp 0x140018f7f
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.14001a550
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x140018fb0
mov rbp, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
xor eax, eax
jmp 0x140019167
mov eax, 0xc000007b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400464e0
add rsp, 0x68
pop rdi
pop rbx
ret