Function at 0x14012abc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rbx, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0xe0], r12d
call fcn.14013e120
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x14012ac17
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rsi, [0x14019bd68]
mov r13, rsi
or rbp, 0xffffffffffffffff
shr r13, 0x10
jne 0x14012ac57
movzx edi, si
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14012ac75
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140005140
jmp 0x14012ac75
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rsi
mov rcx, rbx
call fcn.1400038f0
nop
mov r15d, 1
mov dword [rsp + 0xe0], r15d
call fcn.14013e120
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14012aca3
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test r13, r13
jne 0x14012acdb
movzx edi, si
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14012acfb
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005140
jmp 0x14012acfb
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400038f0
nop
call fcn.14013e120
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14012ad1b
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
test r13, r13
jne 0x14012ad53
movzx edi, si
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14012ad73
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005140
jmp 0x14012ad73
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400038f0
nop
call fcn.14013e120
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14012ad93
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x20], rsi
test r13, r13
jne 0x14012add7
lea rax, [0x14019bd68]
movzx edi, ax
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14012adff
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140005140
mov rsi, qword [rsp + 0x20]
jmp 0x14012adff
xor eax, eax
mov rcx, rbp
lea rdx, [0x14019bd68]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.1400038f0
mov rsi, qword [rsp + 0x20]
mov rdx, qword [r14 + 0x88]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx]
sub rdi, 0x18
cmp rcx, rdi
je 0x14012ae60
cmp dword [rdi + 0x10], 0
jl 0x14012ae54
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14012ae54
call fcn.1400035b0
mov rsi, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14012ae46
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx], rax
mov rsi, qword [rsp + 0x20]
jmp 0x14012ae60
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.1400038f0
xor eax, eax
mov rcx, rbp
lea rdx, str.Users_Manual_
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8, rcx
mov qword [rsp + 0x38], rcx
mov r14, rdx
mov rax, qword [rbx]
mov r13, rdx
sub r13, rax
sar r13, 1
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0xe8], ecx
lea edi, [rcx + r8]
mov edx, r15d
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x14012aec3
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov ecx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbx]
cmp r13, rcx
ja 0x14012aecf
lea r14, [rax + r13*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + rcx*2]
mov r9, rdx
mov r8, r14
call fcn.14015c410
test edi, edi
js 0x14012b987
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b987
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
mov edi, r12d
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x550]
lea rcx, [0x140215208]
lea r9, [0x140215408]
nop
nop
test r8, r8
je 0x14012af3c
movzx edx, word [r8 + 0xc]
jmp 0x14012af3f
mov edx, r12d
movzx eax, word [rcx]
cmp edx, eax
je 0x14012af57
add edi, 1
add rcx, 0x10
cmp rcx, r9
jl 0x14012af30
jmp 0x14012aff9
movsxd rax, edi
add rax, rax
lea r13, str.Arabic
mov r13, qword [r13 + rax*8]
test r13, r13
je 0x14012af80
xor eax, eax
mov rcx, rbp
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
mov r14, r13
sub r14, rsi
sar r14, 1
mov eax, dword [rsi - 0x10]
mov dword [rsp + 0xe8], eax
lea edi, [rax + r12]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x14012afb7
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140001c90
mov rsi, qword [rsp + 0x20]
mov eax, dword [rsp + 0xe8]
cmp r14, rax
ja 0x14012afc7
lea r13, [rsi + r14*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rsi + rax*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x14012b97c
cmp edi, dword [rsi - 0xc]
jg 0x14012b97c
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
movsxd r14, dword [rsi - 0x10]
mov rax, qword [rbx]
mov r12, rsi
sub r12, rax
sar r12, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + r14]
mov ecx, r15d
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x14012b02b
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp r12, r13
ja 0x14012b037
lea rsi, [rax + r12*2]
mov rdx, r14
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.14015c410
test edi, edi
js 0x14012b971
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b971
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
lea r13, str..xps
mov r8, r13
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140064a60
mov r12, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14019bd68]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b0a5
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b0cb
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b0fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b0fc
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b867
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b0fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r12, str..pdf
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140064a60
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14019bd68]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b132
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b158
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b188
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b188
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b7be
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b188
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str..chm
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140064a60
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14019bd68]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b1bb
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b1e1
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b211
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b211
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b70a
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b211
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x88]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx]
sub rdi, 0x18
cmp rcx, rdi
je 0x14012b275
cmp dword [rdi + 0x10], 0
jl 0x14012b269
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14012b269
call fcn.1400035b0
mov rsi, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14012b260
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx], rax
jmp 0x14012b275
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.1400038f0
xor eax, eax
mov rcx, rbp
lea r10, str.Users_Manual_
mov rdi, r10
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8, rcx
mov qword [rsp + 0xe8], rcx
mov rax, qword [rbx]
mov rsi, r10
sub rsi, rax
sar rsi, 1
mov r14d, dword [rax - 0x10]
lea edi, [r14 + rcx]
mov edx, r15d
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x14012b2d5
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov r8, qword [rsp + 0xe8]
lea r10, str.Users_Manual_
mov rax, qword [rbx]
cmp rsi, r14
ja 0x14012b2e1
lea r10, [rax + rsi*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + r14*2]
mov r9, rdx
mov r8, r10
call fcn.14015c410
test edi, edi
js 0x14012b6ff
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b6ff
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
xor eax, eax
mov rcx, rbp
lea r14, str.English
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r8, rcx
mov qword [rsp + 0x38], rcx
mov rax, qword [rbx]
mov rsi, r14
sub rsi, rax
sar rsi, 1
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0xe8], ecx
lea edi, [rcx + r8]
mov edx, r15d
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x14012b379
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov ecx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbx]
cmp rsi, rcx
ja 0x14012b385
lea r14, [rax + rsi*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + rcx*2]
mov r9, rdx
mov r8, r14
call fcn.14015c410
test edi, edi
js 0x14012b6f4
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b6f4
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
mov r8, r13
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140064a60
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14019bd68]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b3ec
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b412
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b442
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b442
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b64b
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b442
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140064a60
mov r13, rax
mov r8, qword [rax]
xor edx, edx
lea r14, [0x14019bd68]
mov rdi, r14
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b474
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b49a
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b4cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b4cb
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b5a1
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b4cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r13, str..chm
mov r8, r13
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140064a60
mov r12, rax
mov r8, qword [rax]
xor edx, edx
mov rdi, r14
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14012b4fd
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14012b523
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b550
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012b550
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14012b572
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b550
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
mov rcx, rbx
call fcn.1400038f0
jmp 0x14012b901
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b591
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r13
mov rcx, rbx
call fcn.1400400a0
jmp 0x14012b901
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b5c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r12
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r15d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r15d
jge 0x14012b5ff
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp rsi, r13
ja 0x14012b60b
lea r12, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14015c410
test edi, edi
js 0x14012b640
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b640
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x14012b901
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b669
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r13
sub rsi, rax
sar rsi, 1
mov r12d, dword [rax - 0x10]
lea edi, [r12 + rcx - 1]
sub r15d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r15d
jge 0x14012b6a8
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp rsi, r12
ja 0x14012b6b4
lea r13, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x14012b6e9
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b6e9
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x14012b901
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b728
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
lea r8, str..chm
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r8
sub rsi, rax
sar rsi, 1
mov r12d, dword [rax - 0x10]
lea edi, [r12 + rcx - 1]
sub r15d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r15d
jge 0x14012b775
mov edx, edi
mov rcx, rbx
call fcn.140001c90
lea r8, str..chm
mov rax, qword [rbx]
cmp rsi, r12
ja 0x14012b781
lea r8, [rax + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
call fcn.14015c410
test edi, edi
js 0x14012b7b3
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b7b3
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x14012b901
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b7dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r12
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r15d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r15d
jge 0x14012b81b
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp rsi, r13
ja 0x14012b827
lea r12, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14015c410
test edi, edi
js 0x14012b85c
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b85c
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x14012b901
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b886
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r13
sub rsi, rax
sar rsi, 1
mov r12d, dword [rax - 0x10]
lea edi, [r12 + rcx - 1]
sub r15d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r15d
jge 0x14012b8c5
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp rsi, r12
ja 0x14012b8d1
lea r13, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x14012b966
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14012b966
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b922
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14012b943
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14012b961
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
jmp 0x14012b992
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret