Function at 0x140002020
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 0x140002091
test rax, rax
jne 0x1400020a8
xor r12b, r12b
jmp 0x1400023c9
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 0x14000210e
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 0x140002111
test rbx, rbx
je 0x140002111
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov r14, r13
mov qword [rbp - 0x21], r14
test r14, r14
jne 0x140002125
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 0x140002166
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 0x140002169
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rdi, r13
mov qword [rbp - 0x19], rdi
test rdi, rdi
jne 0x14000217d
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 0x1400021be
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 0x1400021c1
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rsi, r13
mov qword [rbp - 0x11], rsi
test rsi, rsi
jne 0x1400021d5
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 0x140002216
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 0x140002219
mov ecx, 0x8007000e
call fcn.1400042d0
int3
mov rbx, r13
mov qword [rbp - 9], rbx
test rbx, rbx
jne 0x14000222d
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 0x1400022c8
movups xmm0, xmmword [0x140006380]
movups xmmword [rbp + 0x1f], xmm0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400022c3
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 + 1]
call qword [r10 + 0x40]
test eax, eax
jns 0x1400022b9
lea rcx, str.Failed_to_register_for_WIA_sti_proxy_event
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400022c8
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12b, 1
jmp 0x1400022cb
xor r12b, r12b
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140002309
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400022e9
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400022fb
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 0x140002347
mov rcx, qword [rsi]
test rcx, rcx
je 0x140002327
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140002339
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 0x140002385
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002365
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002377
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 0x1400023c1
mov rcx, qword [r14]
test rcx, rcx
je 0x1400023a2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], r13
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400023b4
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 0x140002436
lea rax, [r8 + 1]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x1400023e9
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 0x140002431
test byte [rbp - 1], 0x1f
je 0x140002401
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 0x140002411
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 0x140002421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14000242e
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