Function at 0x140002470
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x17], 7
xor r13d, r13d
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
lea rcx, [rbp - 1]
call fcn.140001180
lea rdx, [rbp - 1]
mov rcx, qword [rbp - 1]
mov r8, qword [rbp + 0x17]
cmp r8, 8
cmovae rdx, rcx
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400024e1
test rax, rax
jne 0x1400024f8
xor r12b, r12b
jmp 0x140002819
mov r8d, 0x1b
lea rdx, str.__StiDevice:_1__StiEvent:_2
lea rcx, [rbp - 1]
call fcn.140002c90
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rbx, qword [rbp - 1]
mov ecx, 0x18
call fcn.1400044ec
mov r14, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14000255e
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
jne 0x140002561
test rbx, rbx
je 0x140002561
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov r14, r13
mov qword [rbp - 0x21], r14
test r14, r14
jne 0x140002575
mov ecx, 0x8007000e
call fcn.1400042d0
nop
mov ecx, 0x18
call fcn.1400044ec
mov rdi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400025b6
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.Adobe_Bridge_CS4
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x1400025b9
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rdi, r13
mov qword [rbp - 0x19], rdi
test rdi, rdi
jne 0x1400025cd
mov ecx, 0x8007000e
call fcn.1400042d0
nop
mov ecx, 0x18
call fcn.1400044ec
mov rsi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14000260e
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.Adobe_Bridge_CS4
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x140002611
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rsi, r13
mov qword [rbp - 0x11], rsi
test rsi, rsi
jne 0x140002625
mov ecx, 0x8007000e
call fcn.1400042d0
nop
mov ecx, 0x18
call fcn.1400044ec
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140002666
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.sti.dll_0
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140002669
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rbx, r13
mov qword [rbp - 9], rbx
test rbx, rbx
jne 0x14000267d
mov ecx, 0x8007000e
call fcn.1400042d0
nop
mov qword [rbp - 0x31], r13
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [0x140006390]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x1400063a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140002718
movups xmm0, xmmword [0x140006380]
movups xmmword [rbp + 0x1f], xmm0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140002713
mov r10, qword [rcx]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [r10 + 0x40]
test eax, eax
jns 0x140002709
lea rcx, str.Failed_to_register_for_WIA_sti_proxy_event
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140002718
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12b, 1
jmp 0x14000271b
xor r12b, r12b
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140002759
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002739
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000274b
call fcn.1400044e4
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.1400044e4
nop
mov eax, r15d
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x140002797
mov rcx, qword [rsi]
test rcx, rcx
je 0x140002777
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140002789
call fcn.1400044e4
mov qword [rsi + 8], r13
mov edx, 0x18
mov rcx, rsi
call fcn.1400044e4
nop
mov eax, r15d
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400027d5
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400027b5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400027c7
call fcn.1400044e4
mov qword [rdi + 8], r13
mov edx, 0x18
mov rcx, rdi
call fcn.1400044e4
nop
lock xadd dword [r14 + 0x10], r15d
cmp r15d, 1
jne 0x140002811
mov rcx, qword [r14]
test rcx, rcx
je 0x1400027f2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], r13
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140002804
call fcn.1400044e4
mov qword [r14 + 8], r13
mov edx, 0x18
mov rcx, r14
call fcn.1400044e4
mov rcx, qword [rbp - 1]
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x140002886
lea rax, [r8 + 1]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140002839
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140002881
test byte [rbp - 1], 0x1f
je 0x140002851
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140002861
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140002871
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14000287e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140004528
movzx eax, r12b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400044c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret