Function at 0x180020870
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 0x18002094e
lea rdx, [0x1800900a8]
lea rcx, [rbp - 1]
call fcn.180003550
mov rdi, rax
lea rax, [rbp - 0x29]
cmp rax, rdi
je 0x18002093c
cmp qword [rbp - 0x11], 8
jb 0x1800208eb
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 0x18002091a
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.18003ad40
jmp 0x180020924
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 0x18002096d
mov rcx, qword [rbp - 1]
call fcn.18003ad20
jmp 0x18002096d
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 0x1800209a2
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1800209a2
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
jne 0x180020ae7
lea rcx, str._DOCPROPERTY__Register_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.___s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x3f], 8
jb 0x180020a13
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 0x180020a33
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 0x180020a4e
mov edi, esi
jmp 0x180020a5d
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180020a90
lea rcx, str._DOCPROPERTY__Register_dsofile.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x180020a7b
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
mov rdx, rbx
lea rcx, str.58968145_CF05_4341_995F_2EE093F6ABA3
call fcn.1800212f0
test eax, eax
jne 0x180020ad7
lea rcx, str._DOCPROPERTY__Register_dsofile.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180020ac2
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
cmp qword [rbp - 0x39], 8
jb 0x180020ae7
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
jne 0x180020c2a
lea rcx, str._DOCPROPERTY__Register_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.___s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x17], 8
jb 0x180020b57
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 0x180020b77
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 0x180020b92
mov edi, esi
jmp 0x180020ba1
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180020bd4
lea rcx, str._DOCPROPERTY__Register_msoshext.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x180020bbf
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
xor edx, edx
lea rcx, str.993BE281_6695_4BA5_8A2A_7AACBFAAB69E
call fcn.1800212f0
test eax, eax
jne 0x180020c1a
lea rcx, str._DOCPROPERTY__Register_msoshext.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180020c05
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
cmp qword [rbp - 0x39], 8
jb 0x180020c2a
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov rdx, rbx
lea rcx, str.88D969E5_F192_11D4_A65F_0040963251E5
call fcn.1800212f0
test eax, eax
jne 0x180020d69
lea rcx, str._DOCPROPERTY__Register_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.___s
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.18000c1b0
nop
cmp qword [rbp + 0x17], 8
jb 0x180020c9b
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 0x180020cbb
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 0x180020cd6
mov edi, esi
jmp 0x180020ce5
lea rcx, [rbp - 0x51]
call fcn.180003210
mov edi, eax
test eax, eax
jne 0x180020d15
lea rcx, str._DOCPROPERTY__Register_msxml5.dll_Failed__X1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rbp - 0x39], 8
jb 0x180020d03
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
mov rdx, rbx
lea rcx, str.88D969E5_F192_11D4_A65F_0040963251E5
call fcn.1800212f0
test eax, eax
jne 0x180020d59
lea rcx, str._DOCPROPERTY__Register_msxml5.dll_Failed__X2_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, esi
cmp qword [rbp - 0x39], 8
jb 0x180020d47
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], rsi
mov word [rbp - 0x51], si
jmp 0x180020d6e
cmp qword [rbp - 0x39], 8
jb 0x180020d69
mov rcx, qword [rbp - 0x51]
call fcn.18003ad20
mov edi, 1
cmp qword [rbp - 0x11], 8
jb 0x180020d7e
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 0x180020870