Function at 0x14008b8e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov r12, r8
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x14008b92d
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x98], rbx
lea r13, [0x1401cc718]
test r13, 0xffffffffffff0000
jne 0x14008b980
movzx edi, r13w
xor edx, edx
mov ecx, edi
call fcn.14004ae14
test rax, rax
je 0x14008b97a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14004f058
or rdi, 0xffffffffffffffff
jmp 0x14008b9af
or rdi, 0xffffffffffffffff
jmp 0x14008b9b7
or rdi, 0xffffffffffffffff
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r13 + rax*2], 0
jne 0x14008b990
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x98]
call fcn.14004edac
mov rbx, qword [rsp + 0x98]
mov rdx, r12
mov rcx, rsi
call fcn.14008bc90
mov r15, rax
test eax, eax
jle 0x14008ba2b
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400ddae4
mov rsi, rax
lea r8, str.r_ccsUNICODE
mov rdx, qword [r12]
lea rcx, [rsp + 0x28]
call fcn.140104e8c
mov rcx, rsi
test eax, eax
jne 0x14008ba26
movsxd r15, r15d
mov r9, qword [rsp + 0x28]
mov r8, r15
lea edx, [rax + 2]
call fcn.14010aeb8
test rax, rax
jne 0x14008ba5b
mov rcx, qword [rsp + 0x28]
call fcn.140104fe4
mov rcx, rsi
call fcn.1400dce58
lea rcx, [rbx - 0x18]
call fcn.14004ecac
add rax, 0x18
mov qword [r14], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x14008ba53
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
jmp 0x14008bc67
xor eax, eax
mov word [rsi + r15*2], ax
mov rcx, qword [rsp + 0x28]
call fcn.140104fe4
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14004df84
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008bad9
cmp dword [rbx + 0x10], 0
jl 0x14008bac7
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008bac7
call fcn.14004ecac
mov r15, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008bab9
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rsp + 0x98], rax
jmp 0x14008bad9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x98]
call fcn.14004edac
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008baf7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.1400dce58
mov rbx, qword [rsp + 0x98]
cmp dword [rbx - 0x10], 0
jge 0x14008bb11
mov esi, edi
jmp 0x14008bb32
lea rdx, str.__xml
mov rcx, rbx
call fcn.1400e27b4
mov rsi, rax
test rax, rax
jne 0x14008bb2c
mov esi, edi
jmp 0x14008bb32
sub rsi, rbx
sar rsi, 1
cmp dword [rbx - 0x10], 0
jge 0x14008bb3c
mov eax, edi
jmp 0x14008bb5a
lea rdx, str.__synonym_list_
mov rcx, rbx
call fcn.1400e27b4
test rax, rax
jne 0x14008bb54
mov eax, edi
jmp 0x14008bb5a
sub rax, rbx
sar rax, 1
test esi, esi
js 0x14008bc03
test eax, eax
js 0x14008bc03
lea r9d, [rax + 0xf]
mov r8d, esi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x98]
call fcn.14004da64
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008bbe3
cmp dword [rbx + 0x10], 0
jl 0x14008bbd1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008bbd1
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008bbc3
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x98], rax
jmp 0x14008bbe3
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x98]
call fcn.14004edac
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008bc2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008bc2f
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r13 + rax*2], 0
jne 0x14008bc10
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x98]
call fcn.14004edac
mov rbx, qword [rsp + 0x98]
jmp 0x14008ba2b
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret