Function at 0x140003dc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r12
push r13
sub rsp, 0x50
xor ebx, ebx
lea rcx, [rsp + 0x24]
xor edx, edx
lea r8d, [rbx + 0x2c]
mov dword [rsp + 0x20], ebx
call fcn.140155f80
lea r13, [0x14020a5d0]
mov r11d, 0xd27
mov word [rsp + 0x70], r11w
movzx edx, bx
mov r9d, 0x898c00
mov r8, r13
mov r12d, 1
nop dword [rax]
cmp r12w, dx
jne 0x140003e18
mov edx, ebx
movzx ecx, byte [r8]
movzx eax, dx
inc r8
movzx eax, byte [rsp + rax*2 + 0x70]
add cl, 9
inc dx
xor al, cl
dec r9
mov byte [r8 - 1], al
jne 0x140003e10
movsxd rax, dword [0x14020a60c]
mov ecx, 0x5a4d
mov qword [rsp + 0x78], rbp
cmp word [0x14020a5d0], cx
mov qword [rsp + 0x80], rsi
lea rdi, [rax + r13]
jne 0x1400040bd
cmp dword [rdi], 0x4550
jne 0x1400040bd
cmp dword [rdi + 0x54], 0x898c00
ja 0x1400040b6
add rax, 0x108
cmp rax, 0x898c00
ja 0x1400040b6
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x1400040bd
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
test eax, eax
je 0x140003ed4
lea rdx, [rcx + rdi + 0x24]
mov r8d, eax
mov eax, dword [rdx + 4]
test eax, eax
jne 0x140003ebc
mov ecx, dword [rdi + 0x38]
jmp 0x140003ebf
mov rcx, rax
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rbx
cmova rbx, rcx
add rdx, 0x28
dec r8
jne 0x140003eb0
lea rcx, [rsp + 0x20]
call qword [0x140aae2e8]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rdi + 0x50]
lea edx, [r11 - 1]
lea ebp, [rax + r11 - 1]
lea rcx, [r11 + rbx - 1]
not edx
and rbp, rdx
and rcx, rdx
cmp rbp, rcx
jne 0x1400040bd
mov rcx, qword [rdi + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
call qword [0x140aae2f0]
mov rsi, rax
test rax, rax
jne 0x140003f4c
lea r9d, [rax + 4]
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [0x140aae2f0]
mov rsi, rax
test rax, rax
jne 0x140003f4c
lea ecx, [rax + 0xe]
jmp 0x1400040c2
call qword [0x140aae320]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x140aae2f8]
mov rbx, rax
test rax, rax
je 0x14000407a
mov qword [rax + 8], rsi
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov dword [rbx + 0x24], eax
mov edx, dword [rdi + 0x54]
mov r8d, 0x1000
mov rcx, rsi
call qword [0x140aae2f0]
mov rbp, rax
test rax, rax
je 0x14000407a
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.140156540
movsxd rax, dword [0x14020a60c]
mov rdx, rbx
add rax, rbp
mov rcx, rdi
mov qword [rbx], rax
mov qword [rax + 0x30], rsi
call fcn.140003690
test eax, eax
je 0x140004085
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140003fec
mov rcx, rbx
call fcn.1400037b0
mov dword [rbx + 0x20], eax
jmp 0x140003ff0
mov dword [rbx + 0x20], r12d
mov rcx, rbx
call fcn.140003880
test eax, eax
je 0x140004085
mov rcx, rbx
call fcn.140003b00
test eax, eax
je 0x140004085
mov rax, qword [rbx]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x14000404c
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14000404c
mov rax, qword [rdi]
test rax, rax
je 0x14000404c
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r12d
call rax
mov rax, qword [rdi + 8]
add rdi, 8
test rax, rax
jne 0x140004033
mov rax, qword [rbx]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140004075
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea rax, [rcx + rdx]
mov edx, r12d
call rax
test eax, eax
jne 0x140004071
mov ecx, 0x45a
jmp 0x14000407f
mov dword [rbx + 0x1c], r12d
mov rax, rbx
jmp 0x1400040ca
mov ecx, SafeArrayGetDim
call qword [0x140aae2e0]
test rsi, rsi
je 0x14000409b
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x140aae308]
test rbx, rbx
je 0x1400040c8
call qword [0x140aae320]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x140aae318]
jmp 0x1400040c8
mov ecx, SafeArrayGetDim
jmp 0x1400040c2
mov ecx, 0xc1
call qword [0x140aae2e0]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r13
pop r12
pop rdi
ret