Function at 0x14000323c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 0x10], edx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
xor r13d, r13d
lea rcx, [rax - 0x54]
xor edx, edx
lea r8d, [r13 + 0x2c]
mov rbx, r13
mov rbp, r13
mov dword [rax - 0x58], r13d
call fcn.14002d240
lea r11, [0x14005e690]
mov eax, 0xd27
mov r10d, 0x1d8000
mov r8, r11
mov rsi, r13
mov dx, r13w
lea r14d, [r13 + 1]
mov word [rsp + 0x88], ax
mov r9, r10
cmp r14w, dx
jne 0x1400032a6
mov edx, r13d
mov cl, byte [r8]
movzx eax, dx
add dx, r14w
mov al, byte [rsp + rax*2 + 0x88]
add cl, 9
xor al, cl
mov byte [r8], al
add r8, r14
sub r9, r14
jne 0x14000329d
movsxd rax, dword [0x14005e6cc]
mov ecx, 0x5a4d
lea rdi, [rax + r11]
cmp word [0x14005e690], cx
jne 0x140003511
cmp dword [rdi], 0x4550
jne 0x140003511
cmp dword [rdi + 0x54], r10d
ja 0x140003507
add rax, 0x108
cmp rax, r10
ja 0x140003507
mov eax, 0x8664
cmp word [rdi + 4], ax
je 0x140003324
mov ecx, 0xc1
call qword [0x14023b128]
jmp 0x14000354b
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
cmp eax, r13d
jbe 0x14000335e
lea rdx, [rcx + rdi + 0x24]
mov r8, rax
cmp dword [rdx + 4], r13d
jne 0x140003346
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdx]
jmp 0x14000334b
mov ecx, dword [rdx]
mov eax, dword [rdx + 4]
add rcx, rax
cmp rcx, rbp
cmova rbp, rcx
add rdx, 0x28
sub r8, r14
jne 0x140003339
lea rcx, [rsp + 0x20]
call qword [0x14023b130]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rdi + 0x50]
lea edx, [r11 - 1]
lea r12d, [rax + r11 - 1]
lea rcx, [r11 + rbp - 1]
not edx
and r12, rdx
and rcx, rdx
cmp r12, rcx
jne 0x140003314
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r8d, 0x3000
mov r9d, ebp
mov rdx, r12
call qword [0x14023b138]
mov rsi, rax
cmp rax, r13
jne 0x1400033d5
mov r9d, ebp
mov r8d, 0x3000
mov rdx, r12
xor ecx, ecx
call qword [0x14023b138]
mov rsi, rax
cmp rax, r13
jne 0x1400033d5
mov ecx, SafeArrayGetDim
jmp 0x140003516
call qword [0x14023b168]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x14023b140]
mov rbx, rax
cmp rax, r13
je 0x1400033cb
mov qword [rax + 8], rsi
mov eax, dword [rsp + 0x24]
mov r9d, ebp
mov dword [rbx + 0x24], eax
mov edx, dword [rdi + 0x54]
mov r8d, 0x1000
mov rcx, rsi
call qword [0x14023b138]
mov rbp, rax
cmp rax, r13
je 0x1400033cb
mov r8d, dword [rdi + 0x54]
lea rdx, [0x14005e690]
mov rcx, rax
call fcn.14002df00
movsxd rax, dword [0x14005e6cc]
lea rcx, [0x14005e690]
add rax, rbp
mov r9, rbx
mov r8, rdi
mov qword [rbx], rax
mov edx, 0x1d8000
mov qword [rax + 0x30], rsi
call fcn.140002b4c
cmp eax, r13d
je 0x14000351c
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x14000347b
mov rcx, rbx
call fcn.140002c68
mov dword [rbx + 0x20], eax
jmp 0x14000347f
mov dword [rbx + 0x20], r14d
mov rcx, rbx
call fcn.140002d28
cmp eax, r13d
je 0x14000351c
mov rcx, rbx
call fcn.140002fa8
cmp eax, r13d
je 0x14000351c
mov rax, qword [rbx]
cmp dword [rax + 0xd0], r13d
je 0x1400034d7
mov ecx, dword [rax + 0xd0]
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
cmp rdi, r13
je 0x1400034d7
jmp 0x1400034cf
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r14d
call rax
add rdi, 8
mov rax, qword [rdi]
cmp rax, r13
jne 0x1400034bf
mov rax, qword [rbx]
cmp dword [rax + 0x28], r13d
je 0x140003502
mov rcx, qword [rbx + 8]
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, rcx
mov edx, r14d
call rax
cmp eax, r13d
jne 0x1400034fe
mov ecx, 0x45a
jmp 0x140003516
mov dword [rbx + 0x1c], r14d
mov rax, rbx
jmp 0x14000354d
mov ecx, SafeArrayGetDim
jmp 0x140003319
mov ecx, 0xc1
call qword [0x14023b128]
cmp rsi, r13
je 0x140003532
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x14023b150]
cmp rbx, r13
je 0x14000354b
call qword [0x14023b168]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14023b160]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret