Function at 0x140015124
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x260]
mov r12, rcx
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0x38], r8
mov rbp, rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0xc0], rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x108]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x198]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x138]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x120]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [0x140036100]
lea rcx, [0x140036100]
call qword [rax + 0x18]
lea rcx, [rsp + 0x90]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x40], rsi
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x168]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x150]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x78]
xor ebx, ebx
and dword [rsp + 0x48], ebx
xor edi, edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [rbx + 8]
lea r15, [0x140002e9c]
mov word [rsp + 0x78], ax
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x14001527d
lea eax, [rbx + 0xa]
mov ecx, 0x8007000e
mov word [rsp + 0x78], ax
mov dword [rsp + 0x80], ecx
call fcn.140008378
int3
and qword [r12 + 0x190], rbx
and dword [r12 + 0x198], ebx
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0xf0]
lea rdx, [0x140003b40]
xor r8d, r8d
mov rcx, rbp
call fcn.14001830c
test eax, eax
js 0x140015326
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x108]
lea r8, [rsp + 0xf0]
lea rdx, [0x140003b90]
mov rcx, rbp
call fcn.14001830c
test eax, eax
js 0x140015326
lea rax, [rsp + 0xd8]
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x78]
lea rdx, [0x140003be0]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14001830c
test eax, eax
js 0x140015326
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x78]
lea rdx, [0x140003c30]
mov rcx, rbp
call fcn.14001830c
lea rax, [rsp + 0x180]
lea rdx, [0x140003c80]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14001830c
mov ebp, eax
test eax, eax
js 0x1400158fe
mov r14, qword [rsp + 0x188]
test r14, r14
jne 0x14001536a
mov ecx, 0x80070057
call fcn.140008378
int3
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VarR8FromUI1]
mov cx, word [rsp + 0x30]
test eax, eax
js 0x1400153a8
cmp cx, 0xd
jne 0x1400153a4
test byte [r14 + 2], 0x40
je 0x1400153a4
mov edx, 0x400
test word [r14 + 2], dx
je 0x1400153a4
mov ecx, 9
mov word [rsp + 0x30], cx
test eax, eax
jns 0x1400153b0
mov ecx, eax
call fcn.140008378
int3
cmp cx, 3
je 0x1400153c1
mov ecx, 0x80070057
call fcn.140008378
int3
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
mov ebp, eax
test eax, eax
js 0x1400158e8
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jns 0x1400153f3
mov ecx, eax
call fcn.140008378
int3
lea r8, [rsp + 0x5c]
mov edx, 1
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jns 0x140015412
mov ecx, eax
call fcn.140008378
int3
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x60]
inc eax
shl rax, 2
cmp rax, 0x2c
jae 0x140015430
mov ebp, 0x8000ffff
jmp 0x1400158e8
and qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov ebp, eax
test eax, eax
js 0x1400158e8
mov rdx, qword [rsp + 0x68]
mov ebp, 0x8000ffff
test rdx, rdx
cmove eax, ebp
mov ebp, eax
test eax, eax
js 0x140015481
lea rcx, [rsp + 0x1b0]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x1d4]
mov dword [rsp + 0x48], eax
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test ebp, ebp
js 0x1400158e8
mov rdx, qword [rsp + 0x38]
lea rcx, [r12 + 0xa8]
call fcn.140022ff4
mov ebp, eax
test eax, eax
js 0x1400158e8
movsx edx, word [rsp + 0xe0]
lea rcx, [r12 + 0xa8]
call fcn.1400233b8
mov ebp, eax
test eax, eax
js 0x1400158e8
mov rcx, qword [r12 + 0xb8]
and qword [rsp + 0x38], rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400154ec
mov r15, qword [r12 + 0xb8]
lea rcx, [rsp + 0x38]
mov rdx, r15
call fcn.140022f78
mov ebp, eax
test eax, eax
js 0x14001550d
mov rbx, qword [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
jmp 0x140015512
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebp, ebp
js 0x1400158e8
cmp dword [r12 + 0x118], edi
je 0x14001552f
xor r15d, r15d
jmp 0x140015595
cmp qword [r12 + 0xb0], rdi
je 0x140015590
mov rcx, qword [r12 + 0xb0]
lea r8, [rsp + 0x4c]
mov edx, 1
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jns 0x14001555d
mov ecx, eax
call fcn.140008378
int3
mov rcx, qword [r12 + 0xb0]
lea r8, [rsp + 0x58]
mov edx, 1
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jns 0x140015581
mov ecx, eax
call fcn.140008378
int3
mov r15d, dword [rsp + 0x58]
sub r15d, dword [rsp + 0x4c]
inc r15d
jmp 0x140015595
mov r15d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [r12 + 0xa8]
call fcn.140023778
mov ebp, eax
test eax, eax
js 0x1400158e3
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140015616
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
jne 0x1400155d4
xor ecx, ecx
jmp 0x1400155e6
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.14000cd0c
lea rcx, [rsp + 0x40]
mov edx, 0x7b
call fcn.140017850
lea rcx, [rsp + 0x40]
mov edx, 0x7d
call fcn.140017850
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
lea rdx, [rsp + 0x1e0]
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebp, eax
test eax, eax
js 0x1400158e3
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x1e0]
call fcn.140022760
mov ebp, eax
test eax, eax
js 0x1400158e3
cmp qword [rsp + 0xd0], 0
mov eax, 0x80004005
cmove ebp, eax
test ebp, ebp
js 0x1400158e3
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rdi, qword [rsp + 0x50]
mov eax, 8
mov word [rsp + 0x90], ax
test rdi, rdi
jne 0x14001569c
xor eax, eax
jmp 0x1400156b0
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x1400156e1
test rdi, rdi
je 0x1400156e1
mov eax, 0xa
mov ecx, 0x8007000e
mov word [rsp + 0x90], ax
mov dword [rsp + 0x98], ecx
call fcn.140008378
int3
lea rdx, [r12 + 0x20]
test rdx, rdx
jne 0x1400156f5
mov ebp, 0x80004003
jmp 0x1400158e8
lea rcx, [rsp + 0xf0]
call fcn.140018280
mov ebp, eax
test eax, eax
js 0x1400158e8
lea r13, [r12 + 0x38]
test r13, r13
je 0x1400156eb
lea rcx, [rsp + 0x108]
mov rdx, r13
call fcn.140018280
mov ebp, eax
test eax, eax
js 0x1400158e8
lea rdx, [r12 + 0x68]
test rdx, rdx
je 0x1400156eb
lea rcx, [rsp + 0xa8]
call fcn.140018280
mov ebp, eax
test eax, eax
js 0x1400158e8
lea rdx, [r12 + 0x120]
test rdx, rdx
je 0x1400156eb
lea rcx, [rsp + 0x120]
call fcn.140018280
mov ebp, eax
test eax, eax
js 0x1400158e8
lea rdx, [r12 + 0x138]
test rdx, rdx
je 0x1400156eb
lea rcx, [rsp + 0x90]
call fcn.140018280
mov ebp, eax
test eax, eax
js 0x1400158e8
lea rcx, [r12 + 0x50]
mov rdx, r13
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov ebp, eax
test eax, eax
js 0x1400158e8
movsx eax, word [rsp + 0xe0]
lea rcx, [r12 + 0x180]
mov dword [r12 + 0x160], eax
call fcn.14000cb24
mov rcx, qword [r12 + 0x158]
mov r13, rbx
xor ebx, ebx
cmp rcx, r13
je 0x1400157f2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r12 + 0x158], r13
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
xor ecx, ecx
lea rdx, [rsp + 0x40]
test eax, eax
setne cl
mov dword [r12 + 0x150], ecx
lea rcx, [r12 + 0x80]
call fcn.14000c5e0
mov r11, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xc0]
mov qword [r12 + 0x98], r11
cmp qword [r12 + 0x18], r13
je 0x14001585e
test r13, r13
je 0x140015849
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 8]
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x140015859
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 0x18], r13
mov rax, qword [rsp + 0x70]
movdqu xmm0, xmmword [rsp + 0x1e0]
lea rcx, [0x140003cd0]
mov qword [r12 + 0xa0], rax
xor eax, eax
mov dword [r12 + 0x188], r15d
movdqu xmmword [r12 + 0x88], xmm0
cmp dword [rsp + 0x48], eax
setne al
mov dword [r12 + 0x18c], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140003cf4]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140003cf8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140003cf4]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400158e8
mov rdi, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x1400158fe
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x150]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x168]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, [rsi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140015963
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x120]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x138]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x198]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x108]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebp
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140029f80
mov rbx, qword [rsp + 0x258]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret