Function at 0x14009df90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rdi, qword [rcx]
xor ebx, ebx
mov r14, qword [r8 + 0x60]
mov r12, r8
movsxd rbp, edx
mov r15, rcx
mov qword [rsp + 0x50], r14
mov rsi, qword [rdi + 0x10]
mov rax, qword [rdi + 0x60]
mov qword [rdi + 0x60], rbx
mov qword [rsp + 0x58], rsi
movsxd rdx, dword [rsi + 0x90]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x3c], edx
cmp dword [rsi + 0x94], edx
jg 0x14009e00e
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea edx, [rbx + 0xf]
mov rcx, rsi
call fcn.14002df90
mov dword [rsp + 0x3c], eax
jmp 0x14009e034
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rax + rcx*8 + 8], rbx
mov qword [rax + rcx*8 + 0x10], rbx
mov qword [rsp + 0x48], rbp
nop dword [rax]
mov r8, r12
mov rdx, r15
mov rcx, rdi
call fcn.140094940
dec dword [rdi + 0x44]
mov r9d, dword [rdi + 0x38]
mov r13d, dword [r12 + 4]
inc r9d
mov eax, dword [rdi + 0x44]
mov dword [rsp + 0x34], eax
mov dword [rdi + 0x38], r9d
mov dword [r12 + 0x34], r9d
movzx r12d, byte [r12 + 0x40]
mov r15, qword [r15 + 8]
imul rax, r12, 0x68
mov dword [rsp + 0x40], r13d
mov rcx, qword [rax + r15 + 0x28]
mov eax, 0x66666667
movsx r8d, word [rcx + 0x3a]
imul r8d
mov ecx, edx
sar ecx, 2
mov eax, ecx
shr eax, 0x1f
add ecx, eax
lea eax, [rcx + rcx*4]
add eax, eax
sub r8d, eax
movsxd rdx, r8d
cmp rdx, 5
jb 0x14009e0b5
sub rdx, 2
jmp 0x14009e0be
cmp rdx, 1
jb 0x14009e0be
dec rdx
cmp cx, 0x3c
jg 0x14009e0ff
add rdx, 8
cmp cx, 3
jl 0x14009e0d9
movsx ecx, cx
sub ecx, 3
shl rdx, cl
jmp 0x14009e0e6
movsx eax, cx
mov ecx, 3
sub ecx, eax
shr rdx, cl
cmp rdx, 0x2710
jae 0x14009e0f6
mov edx, 0x2710
jmp 0x14009e104
cmp rdx, 0x989680
jbe 0x14009e104
mov edx, 0x989680
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x14009e129
mov r8d, edx
mov dword [rsp + 0x20], ebx
mov edx, 0x4d
mov rcx, rsi
call fcn.14002df90
jmp 0x14009e156
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
movsxd rdx, dword [rsi + 0x90]
mov dword [rsp + 0x38], edx
cmp dword [rsi + 0x94], edx
jg 0x14009e185
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x24]
call fcn.14002df90
mov dword [rsp + 0x38], eax
jmp 0x14009e1b3
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rax + 0x90]
movsxd rax, dword [rax + 0x84]
imul rbp, rax, 0x38
add rbp, rbx
cmp rbx, rbp
jae 0x14009e21a
mov r14d, dword [rsp + 0x34]
nop word [rax + rax]
test byte [rbx + 0x12], 2
jne 0x14009e20c
mov rcx, qword [rbx]
mov r8d, r12d
mov rdx, r15
call fcn.14004aa00
test eax, eax
je 0x14009e20c
mov rdx, qword [rbx]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, r14d
mov rcx, rdi
call fcn.140050740
add rbx, 0x38
cmp rbx, rbp
jb 0x14009e1e0
mov r14, qword [rsp + 0x50]
test dword [r14 + 0x38], 0x100
je 0x14009e350
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14009e238
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
jmp 0x14009e247
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xe4]
movsxd rcx, dword [rsi + 0x90]
xor r9d, r9d
cmp dword [rsi + 0x94], ecx
jg 0x14009e276
mov dword [rsp + 0x20], r9d
mov r8d, r13d
mov r9d, ebx
mov edx, 0x87
mov rcx, rsi
call fcn.14002df90
xor r9d, r9d
jmp 0x14009e2a4
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r12, qword [rsp + 0xd0]
movsxd rdx, dword [rsi + 0x90]
mov r8d, dword [r12 + 0x34]
cmp dword [rsi + 0x94], edx
jg 0x14009e2d8
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0xb4
mov rcx, rsi
call fcn.14002df90
mov edx, eax
jmp 0x14009e306
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], UnRegisterTypeLib
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
jne 0x14009e32a
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
test ebx, ebx
je 0x14009e4f8
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14009e4f8
movzx eax, al
mov dword [rdi + rax*4 + 0xe4], ebx
inc byte [rdi + 0x1f]
jmp 0x14009e4f8
movzx r13d, word [r14 + 0x18]
mov r15, qword [r14 + 0x20]
cmp r13d, 1
jne 0x14009e382
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14009e370
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
jmp 0x14009e3af
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xe4]
jmp 0x14009e3af
mov ecx, dword [rdi + 0x28]
mov r12d, dword [rdi + 0x2c]
mov dword [rsp + 0x30], r12d
cmp r13d, ecx
jg 0x14009e3a2
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x14009e3b4
mov eax, dword [rdi + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rdi + 0x38], eax
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov ebx, r9d
test r13d, r13d
je 0x14009e43b
mov ebp, r12d
mov r14d, r9d
mov r12d, dword [rsp + 0x40]
nop word [rax + rax]
mov rax, qword [r15 + 8]
movzx ecx, word [rax + rbx*2]
cmp cx, 0xfffe
jne 0x14009e403
lea eax, [r12 + 1]
mov r8d, ebp
mov dword [rdi + 0x40], eax
mov rcx, rdi
mov rdx, qword [r15 + 0x50]
mov rdx, qword [rdx + r14 + 8]
call fcn.14004fd20
xor r9d, r9d
mov dword [rdi + 0x40], r9d
jmp 0x14009e41e
mov rdx, qword [r15 + 0x18]
mov r8d, r12d
movsx r9d, cx
mov rcx, qword [rdi + 0x10]
mov dword [rsp + 0x20], ebp
call fcn.14004dcd0
xor r9d, r9d
inc ebp
inc rbx
add r14, 0x20
cmp rbx, r13
jl 0x14009e3d0
mov rsi, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x50]
mov rax, qword [rsp + 0xd0]
movsxd rdx, dword [rsi + 0x90]
mov r8d, dword [rax + 0x34]
cmp dword [rsi + 0x94], edx
jg 0x14009e46f
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov edx, 0xb4
mov rcx, rsi
call fcn.14002df90
mov edx, eax
jmp 0x14009e49e
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], UnRegisterTypeLib
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
jne 0x14009e4bf
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r13d
cmp r13d, 1
jne 0x14009e4e2
test r12d, r12d
je 0x14009e4f0
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14009e4f0
movzx eax, al
mov dword [rdi + rax*4 + 0xe4], r12d
inc byte [rdi + 0x1f]
jmp 0x14009e4f0
cmp r13d, dword [rdi + 0x28]
jle 0x14009e4f0
mov dword [rdi + 0x28], r13d
mov dword [rdi + 0x2c], r12d
mov r12, qword [rsp + 0xd0]
mov rcx, qword [rsi + 0x18]
mov edx, dword [rsp + 0x34]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14009e517
mov r8d, edx
mov rdx, rsi
call fcn.14002ea20
jmp 0x14009e527
mov rcx, qword [rcx + 0x50]
mov eax, dword [rsi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rbx, dword [rsp + 0x38]
xor r9d, r9d
movsxd rcx, dword [rsi + 0x90]
mov r8d, dword [r12 + 4]
lea edx, [rbx + 1]
cmp dword [rsi + 0x94], ecx
jg 0x14009e55d
mov dword [rsp + 0x20], r9d
mov rcx, rsi
mov r9d, edx
mov edx, 0x27
call fcn.14002df90
jmp 0x14009e58b
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsi]
mov edx, dword [rsi + 0x90]
cmp byte [rax + 0x67], 0
je 0x14009e5a3
lea rax, [0x14028c1a0]
jmp 0x14009e5b2
mov rax, qword [rsi + 0x88]
lea rcx, [rbx + rbx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
and dword [r14 + 0x38], 0xffbfffff
mov rax, qword [rdi]
test dword [rax + 0x60], 0x100000
jne 0x14009e68b
mov ebp, dword [rsp + 0xc8]
mov rbx, qword [rsp + 0x48]
inc ebp
mov r15, qword [rsp + 0xc0]
inc rbx
mov dword [rsp + 0xc8], ebp
mov qword [rsp + 0x48], rbx
movzx r10d, byte [r15 + 0x40]
cmp ebp, r10d
jge 0x14009e680
mov r9, qword [r15 + 8]
lea rdx, [r15 + 0x3c0]
mov rsi, qword [rsp + 0xd8]
imul rax, rbx, 0x70
add rdx, rax
nop word [rax + rax]
movzx eax, byte [rdx - 0x20]
lea r12, [rdx - 0x60]
imul rcx, rax, 0x68
mov qword [rsp + 0xd0], r12
test byte [rcx + r9 + 0x44], 0x48
jne 0x14009e659
mov r14, qword [rdx]
test r14, r14
je 0x14009e659
test qword [r14], rsi
jne 0x14009e659
mov eax, dword [r14 + 0x38]
and eax, 0x400004
cmp eax, 0x400000
je 0x14009e667
inc ebp
inc rbx
add rdx, 0x70
cmp rbx, r10
jl 0x14009e620
mov rsi, qword [rsp + 0x58]
cmp ebp, r10d
mov dword [rsp + 0xc8], ebp
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r14
mov ebx, 0
jl 0x14009e040
mov rax, qword [rsi]
mov edx, dword [rsi + 0x90]
cmp byte [rax + 0x67], 0
je 0x14009e6a2
mov dword [0x14028c1a8], edx
jmp 0x14009e6b6
movsxd rax, dword [rsp + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x60], rax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret