Function at 0x1400499e0
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, [0x1400ce1b0]
xor edx, edx
lea r8d, [rdi + 0x17]
lea rcx, [0x1400ce160]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140049ce0
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 0x140049b68
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ce1c0]
xor edx, edx
lea r8d, [rdi + 4]
lea rcx, [0x1400ccac8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140049a9b
lea rcx, str.Failed_to_create_DAX3_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140049ce0
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 0x140049ac5
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 0x140049af6
cmp word [rsp + 0xa0], 0
je 0x140049af6
xor bpl, bpl
jmp 0x140049af9
mov bpl, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bpl, bpl
je 0x140049b32
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 0x140049ce0
mov qword [rsp + 0x38], rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140049ce0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
test eax, eax
jns 0x140049b54
mov dword [rsi], 0xff
jmp 0x140049ce0
cmp word [rsp + 0xa0], 0xffff
sete dil
mov dword [rsi], edi
jmp 0x140049c8d
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 0x140049cc7
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ce140]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x1400ccab8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140049bc8
lea rcx, str.Failed_to_create_DAX2_API_instance
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140049ce0
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 0x140049bf2
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 0x140049c23
cmp word [rsp + 0xa0], 0
je 0x140049c23
xor bpl, bpl
jmp 0x140049c26
mov bpl, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bpl, bpl
je 0x140049c5f
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 0x140049ce0
mov qword [rsp + 0x40], rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140049ce0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
test eax, eax
jns 0x140049c7e
mov dword [rsi], 0xff
jmp 0x140049ce0
cmp word [rsp + 0xa0], 0xffff
sete dil
mov dword [rsi], edi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140049c9e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140049caf
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140049cc0
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov eax, 1
jmp 0x140049d15
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 0x140049cf1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140049d02
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140049d13
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