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

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rcx
mov qword [rbp - 1], r8
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.CoreFoundation.dll_CFDataGetBytePtr]
mov rcx, rbx
mov qword [rbp - 0x41], rax
call qword [sym.imp.CoreFoundation.dll_CFDataGetLength]
mov rdx, rax
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 9], rax
cmp rdx, 1
jae 0x1401910be
mov eax, 0xffffffce
jmp 0x1401913a3
movzx ecx, byte [rax]
dec rdx
inc rax
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x41], rax
cmp cl, 0x21
je 0x1401910ea
cmp cl, 0x20
je 0x1401910f5
lea eax, [rcx - 0x30]
cmp al, 1
jbe 0x1401910ea
mov eax, 0xffff995d
jmp 0x1401913a3
lea eax, [rcx - 0x20]
test al, 0xef
je 0x1401910f5
xor dl, dl
jmp 0x1401910f7
mov dl, 1
movzx eax, byte [r14 + 0x48]
sub cl, 0x30
cmp cl, 1
mov byte [rbp - 0x48], dl
setbe byte [rbp - 0x47]
and al, 1
mov byte [rbp - 0x11], al
cmp al, dl
je 0x140191118
mov rax, qword [r14 + 0x50]
jmp 0x14019111c
mov rax, qword [r14 + 0x58]
mov qword [rbp - 0x21], rax
test rax, rax
je 0x1401910e0
mov rcx, qword [sym.imp.CoreFoundation.dll_kCFAllocatorDefault]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x41]
mov rcx, qword [rcx]
call fcn.140198110
mov qword [rbp - 0x31], rax
test rax, rax
je 0x1401910e0
mov rdx, qword [r14 + 0x70]
mov qword [rsp + 0xf8], rsi
test rdx, rdx
je 0x140191166
mov rcx, rax
call qword [sym.imp.CoreFoundation.dll_CFEqual]
cmp al, 1
setne al
jmp 0x140191168
mov al, 1
mov byte [rbp - 0x49], al
test al, al
je 0x140191175
mov rax, qword [r14 + 0x70]
jmp 0x140191179
mov rax, qword [r14 + 0x68]
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x140191190
mov rbx, qword [rbp - 0x31]
mov esi, 0xffff995d
jmp 0x140191390
mov qword [rsp + 0xb8], rdi
lea rbx, [r14 + 0x88]
mov qword [rsp + 0xb0], r12
xor edi, edi
mov qword [rsp + 0xa8], r13
mov r12d, edi
mov qword [rsp + 0xa0], r15
mov r15d, edi
mov qword [rbp - 0x19], rdi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp - 0x21]
lea r13, [r14 + 0x88]
mov esi, r12d
shl rsi, 7
add r13, rsi
call fcn.140197ba0
mov rdx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
mov rcx, r13
call fcn.140198360
test rax, rax
jne 0x14019122a
mov rcx, qword [rbp - 0x29]
call fcn.140197ba0
lea rcx, [r14 + 0x9c]
mov rdx, rax
add rcx, rsi
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
call fcn.140198360
test rax, rax
je 0x1401913bb
test r15, r15
jne 0x140191270
mov dl, 1
mov rax, rdi
cmp rax, 0x14
jae 0x14019124a
movzx ecx, byte [rbx + rax]
test cl, cl
sete dl
inc rax
test cl, cl
je 0x140191234
test dl, dl
je 0x140191270
mov dl, 1
mov rcx, rdi
cmp rcx, 0x14
jae 0x14019126a
movzx eax, byte [rbx + rcx + 0x14]
test al, al
sete dl
inc rcx
test al, al
je 0x140191253
test dl, dl
cmovne r15, r13
inc r12d
sub rbx, 0xffffffffffffff80
cmp r12d, 4
jl 0x1401911d0
mov r12, rdi
test r12, r12
jne 0x140191303
mov rcx, qword [rbp - 0x21]
lea r12, [r14 + 0x88]
test r15, r15
cmovne r12, r15
mov qword [rbp - 0x19], r12
call fcn.140197ba0
mov rcx, qword [rbp - 0x29]
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
mov eax, dword [rax + 0x10]
mov dword [r12 + 0x10], eax
call fcn.140197ba0
mov rdx, qword [rbp - 0x29]
lea rcx, [r12 + 0x60]
lea r9, [r12 + 0x28]
lea r8, [r12 + 0x3c]
movups xmm0, xmmword [rax]
movups xmmword [r12 + 0x14], xmm0
mov eax, dword [rax + 0x10]
mov dword [r12 + 0x24], eax
lea rax, [r12 + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x21]
mov qword [r12 + 0x70], rdi
mov qword [r12 + 0x78], rdi
call fcn.140197c00
mov rbx, qword [rbp - 0x41]
lea r13, [r12 + 0x60]
mov rdx, qword [rbp - 0x39]
mov r8b, 1
mov rcx, rdi
test rdx, rdx
je 0x14019134d
movzx eax, byte [rbx]
dec rdx
mov ecx, eax
mov qword [rbp - 0x39], rdx
movzx r8d, al
and ecx, 0x7f
mov rax, rdi
shr r8b, 7
mov edi, ecx
shl rax, 7
or rdi, rax
inc rbx
mov qword [rbp - 0x41], rbx
mov rcx, rdi
test r8b, r8b
jne 0x140191316
movzx eax, r8b
neg al
sbb esi, esi
and esi, 0xffff995d
test r8b, r8b
jne 0x14019136c
cmp rcx, qword [r12 + 0x78]
ja 0x1401913c7
mov esi, 0xffff9d10
mov rbx, qword [rbp - 0x31]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov eax, esi
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400e6b50
add rsp, 0xc0
pop r14
pop rbx
pop rbp
ret
mov r12, r13
mov qword [rbp - 0x19], r13
jmp 0x140191284
movzx r8d, byte [rbp - 0x47]
mov r15, rdx
movzx eax, r8b
neg al
sbb rcx, rcx
and ecx, 0x28
sub r15, rcx
sub r15, 0x10
sub rdx, r15
mov qword [rbp - 0x39], rdx
lea r12, [rbx + r15]
mov qword [rbp - 0x41], r12
test r8b, r8b
je 0x14019142a
mov rcx, qword [rbp - 0x29]
call fcn.140197ba0
mov rcx, qword [rbp - 0x21]
add qword [rbp - 0x41], 0x14
sub qword [rbp - 0x39], 0x14
call fcn.140197ba0
mov r12, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x39]
add r12, 0x14
sub rdx, 0x14
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], rdx
cmp rdx, 0x10
je 0x14019143a
mov esi, 0xffff995d
jmp 0x14019136c
call fcn.1400183b0
mov rcx, qword [rbp - 9]
lea r8, [rbp + 7]
sub r12, rcx
mov qword [rsp + 0x28], r8
mov r9, r12
mov qword [rsp + 0x20], rcx
mov r12, qword [rbp - 0x19]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov rcx, rax
lea r8, [r12 + 0x4c]
call fcn.14001aeb0
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp + 7]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140198360
test rax, rax
je 0x14019148f
mov esi, 0xffff9d33
jmp 0x14019136c
mov rcx, qword [rbp - 1]
mov rdx, r15
call fcn.140191d60
mov qword [rsp + 0x28], rax
mov r9, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140196a20
cmp byte [rbp - 0x49], 0
mov rbx, qword [rbp - 0x31]
mov qword [r12 + 0x78], rdi
je 0x1401914d2
mov rdx, rbx
mov rcx, r14
call fcn.14018fdd0
mov eax, dword [rbp - 0x11]
cmp al, byte [rbp - 0x48]
jne 0x1401914e2
mov rcx, r14
call fcn.1401902a0
mov rcx, r14
call fcn.1401905c0
mov r8, qword [r14 + 0x70]
mov rcx, r14
mov rdx, qword [r14 + 0x50]
call fcn.1401902e0
jmp 0x140191370