Function at 0x140047480
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
xor edi, edi
mov dword [rax - 0x58], edi
mov word [rax + 0x18], di
mov qword [rax - 0x30], rdi
mov qword [rax - 0x40], rdi
mov qword [rax - 0x48], rdi
mov qword [rax - 0x50], rdi
lea rax, [rax - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cb080]
xor edx, edx
lea r8d, [rdi + 0x17]
lea rcx, [0x1400cb030]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140047780
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
lea edx, [rdi + 0xb]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [rsp + 0xa8], edi
je 0x140047608
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cb090]
xor edx, edx
lea r8d, [rdi + 4]
lea rcx, [0x1400c98f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004753b
lea rcx, str.Failed_to_create_DAX3_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140047780
mov rbp, qword [rsp + 0x38]
lea rcx, str.B94BA572_658F_40E6_861D_DFB7BB4001A8
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140047565
mov ecx, 0x8007000e
call fcn.140001950
nop
mov dword [rsp + 0x30], 1
mov rax, qword [rbp]
lea r8, [rsp + 0xa0]
mov rdx, rbx
mov rcx, rbp
call qword [rax + 0x38]
test eax, eax
js 0x140047596
cmp word [rsp + 0xa0], 0
je 0x140047596
xor bpl, bpl
jmp 0x140047599
mov bpl, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bpl, bpl
je 0x1400475d2
lea rcx, str.Failed_to_initialize_DAX3_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140047780
mov qword [rsp + 0x38], rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140047780
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
test eax, eax
jns 0x1400475f4
mov dword [rsi], 0xff
jmp 0x140047780
cmp word [rsp + 0xa0], 0xffff
sete dil
mov dword [rsi], edi
jmp 0x14004772d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
mov edx, 0xa
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [rsp + 0xa8], 0
je 0x140047767
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cb010]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x1400c98e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140047668
lea rcx, str.Failed_to_create_DAX2_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140047780
mov rbp, qword [rsp + 0x40]
lea rcx, str.B94BA572_658F_40E6_861D_DFB7BB4001A8
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140047692
mov ecx, 0x8007000e
call fcn.140001950
nop
mov dword [rsp + 0x30], 2
mov rax, qword [rbp]
lea r8, [rsp + 0xa0]
mov rdx, rbx
mov rcx, rbp
call qword [rax + 0x38]
test eax, eax
js 0x1400476c3
cmp word [rsp + 0xa0], 0
je 0x1400476c3
xor bpl, bpl
jmp 0x1400476c6
mov bpl, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bpl, bpl
je 0x1400476ff
lea rcx, str.Failed_to_initialize_DAX2_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140047780
mov qword [rsp + 0x40], rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140047780
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
test eax, eax
jns 0x14004771e
mov dword [rsi], 0xff
jmp 0x140047780
cmp word [rsp + 0xa0], 0xffff
sete dil
mov dword [rsi], edi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004773e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004774f
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140047760
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov eax, 1
jmp 0x1400477b5
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
mov edx, 9
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140047791
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400477a2
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400477b3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret