Function at 0x180020db0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800b37f0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp - 0x11], 7
xor esi, esi
mov qword [rbp - 0x19], rsi
mov word [rbp - 0x29], si
test rcx, rcx
jne 0x180020e8e
lea rdx, [0x1800900a8]
lea rcx, [rbp - 1]
call fcn.180003550
mov rdi, rax
lea rax, [rbp - 0x29]
cmp rax, rdi
je 0x180020e7c
cmp qword [rbp - 0x11], 8
jb 0x180020e2b
mov rcx, qword [rbp - 0x29]
call fcn.18003ad20
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rsi
mov word [rbp - 0x29], si
cmp qword [rdi + 0x18], 8
jae 0x180020e5a
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.18003ad40
jmp 0x180020e64
mov rax, qword [rdi]
mov qword [rbp - 0x29], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x19], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x11], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
cmp qword [rbp + 0x17], 8
jb 0x180020ead
mov rcx, qword [rbp - 1]
call fcn.18003ad20
jmp 0x180020ead
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.180007540
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x180020ee2
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x180020ee2
mov r8d, 1
lea rdx, [0x1800895dc]
lea rcx, [rbp - 0x29]
call fcn.1800096d0
mov rdx, rbx
lea rcx, str.58968145_CF05_4341_995F_2EE093F6ABA3
call fcn.1800212f0
test eax, eax
je 0x180021027
lea rcx, str._DOCPROPERTY__Unregister_dsofile.dll_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rbp - 0x29]
lea rdx, [0x180089720]
lea rcx, [rbp - 1]
call fcn.18000c220
nop
lea r8, [0x1800900d0]
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.18000c1b0
nop
lea r8, str.___u__s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x3f], 8
jb 0x180020f53
mov rcx, qword [rbp + 0x27]
call fcn.18003ad20
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rsi
mov word [rbp + 0x27], si
cmp qword [rbp + 0x17], 8
jb 0x180020f73
mov rcx, qword [rbp - 1]
call fcn.18003ad20
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rsi
mov word [rbp - 1], si
cmp qword [rbp - 0x41], 0
ja 0x180020f8e
mov edi, esi
jmp 0x180020f9d
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180020fd0
lea rcx, str._DOCPROPERTY__Unregister_dsofile.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x180020fbb
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
mov rdx, rbx
lea rcx, str.58968145_CF05_4341_995F_2EE093F6ABA3
call fcn.1800212f0
test eax, eax
je 0x180021017
lea rcx, str._DOCPROPERTY__Unregister_dsofile.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180021002
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
cmp qword [rbp - 0x39], 8
jb 0x180021027
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
xor edx, edx
lea rcx, str.993BE281_6695_4BA5_8A2A_7AACBFAAB69E
call fcn.1800212f0
test eax, eax
je 0x18002116a
lea rcx, str._DOCPROPERTY__Unregister_msoshext.dll_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rbp - 0x29]
lea rdx, [0x180089720]
lea rcx, [rbp + 0x27]
call fcn.18000c220
nop
lea r8, str.msoshext.dll
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.18000c1b0
nop
lea r8, str.___u__s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x17], 8
jb 0x180021097
mov rcx, qword [rbp - 1]
call fcn.18003ad20
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rsi
mov word [rbp - 1], si
cmp qword [rbp + 0x3f], 8
jb 0x1800210b7
mov rcx, qword [rbp + 0x27]
call fcn.18003ad20
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rsi
mov word [rbp + 0x27], si
cmp qword [rbp - 0x41], 0
ja 0x1800210d2
mov edi, esi
jmp 0x1800210e1
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180021114
lea rcx, str._DOCPROPERTY__Unregister_msoshext.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x1800210ff
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
xor edx, edx
lea rcx, str.993BE281_6695_4BA5_8A2A_7AACBFAAB69E
call fcn.1800212f0
test eax, eax
je 0x18002115a
lea rcx, str._DOCPROPERTY__Unregister_msoshext.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180021145
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
cmp qword [rbp - 0x39], 8
jb 0x18002116a
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
xor edx, edx
lea rcx, str.88D969E5_F192_11D4_A65F_0040963251E5
call fcn.1800212f0
test eax, eax
je 0x1800212a7
lea rcx, str._DOCPROPERTY__Unregister_msxml5.dll_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rbp - 0x29]
lea rdx, [0x180089720]
lea rcx, [rbp + 0x27]
call fcn.18000c220
nop
lea r8, [0x180090108]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.18000c1b0
nop
lea r8, str.___u__s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x17], 8
jb 0x1800211da
mov rcx, qword [rbp - 1]
call fcn.18003ad20
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rsi
mov word [rbp - 1], si
cmp qword [rbp + 0x3f], 8
jb 0x1800211fa
mov rcx, qword [rbp + 0x27]
call fcn.18003ad20
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rsi
mov word [rbp + 0x27], si
cmp qword [rbp - 0x41], 0
ja 0x180021215
mov edi, esi
jmp 0x180021224
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180021254
lea rcx, str._DOCPROPERTY__Unregister_msxml5.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x180021242
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
xor edx, edx
lea rcx, str.88D969E5_F192_11D4_A65F_0040963251E5
call fcn.1800212f0
test eax, eax
je 0x180021297
lea rcx, str._DOCPROPERTY__Unregister_msxml5.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180021285
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x1800212ac
cmp qword [rbp - 0x39], 8
jb 0x1800212a7
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov edi, 1
cmp qword [rbp - 0x11], 8
jb 0x1800212bc
mov rcx, qword [rbp - 0x29]
call fcn.18003ad20
mov eax, edi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18003aad0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x180020db0