Function at 0x140112010
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.140129a50
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x140112067
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rsi, [0x14017f438]
mov r13, rsi
or rbp, 0xffffffffffffffff
shr r13, 0x10
jne 0x1401120a7
movzx edi, si
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x1401120c5
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140004d70
jmp 0x1401120c5
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.1400032e0
nop
mov r15d, 1
mov dword [rsp + 0xe0], r15d
call fcn.140129a50
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1401120f3
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test r13, r13
jne 0x14011212b
movzx edi, si
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x14011214b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004d70
jmp 0x14011214b
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.1400032e0
nop
call fcn.140129a50
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14011216b
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
test r13, r13
jne 0x1401121a3
movzx edi, si
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x1401121c3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140004d70
jmp 0x1401121c3
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.1400032e0
nop
call fcn.140129a50
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1401121e3
mov ecx, 0x80004005
call fcn.140002d80
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 0x140112227
lea rax, [0x14017f438]
movzx edi, ax
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x14011224f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140004d70
mov rsi, qword [rsp + 0x20]
jmp 0x14011224f
xor eax, eax
mov rcx, rbp
lea rdx, [0x14017f438]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.1400032e0
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 0x1401122b0
cmp dword [rdi + 0x10], 0
jl 0x1401122a4
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1401122a4
call fcn.140002fa0
mov rsi, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140112296
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 0x1401122b0
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.1400032e0
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 0x140112313
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov ecx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbx]
cmp r13, rcx
ja 0x14011231f
lea r14, [rax + r13*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + rcx*2]
mov r9, rdx
mov r8, r14
call fcn.1401448d0
test edi, edi
js 0x140112dd7
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112dd7
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 + 0x538]
lea rcx, [0x1401f1378]
lea r9, [0x1401f1578]
nop
nop
test r8, r8
je 0x14011238c
movzx edx, word [r8 + 0xc]
jmp 0x14011238f
mov edx, r12d
movzx eax, word [rcx]
cmp edx, eax
je 0x1401123a7
add edi, 1
add rcx, 0x10
cmp rcx, r9
jl 0x140112380
jmp 0x140112449
movsxd rax, edi
add rax, rax
lea r13, str.Arabic
mov r13, qword [r13 + rax*8]
test r13, r13
je 0x1401123d0
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 0x140112407
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002da0
mov rsi, qword [rsp + 0x20]
mov eax, dword [rsp + 0xe8]
cmp r14, rax
ja 0x140112417
lea r13, [rsi + r14*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rsi + rax*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140112dcc
cmp edi, dword [rsi - 0xc]
jg 0x140112dcc
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 0x14011247b
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp r12, r13
ja 0x140112487
lea rsi, [rax + r12*2]
mov rdx, r14
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.1401448d0
test edi, edi
js 0x140112dc1
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112dc1
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.140063270
mov r12, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14017f438]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x1401124f5
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x14011251b
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14011254c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14011254c
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140112cb7
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14011254c
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.140063270
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14017f438]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x140112582
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x1401125a8
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401125d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401125d8
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140112c0e
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401125d8
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.140063270
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14017f438]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14011260b
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x140112631
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112661
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140112661
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140112b5a
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112661
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 0x1401126c5
cmp dword [rdi + 0x10], 0
jl 0x1401126b9
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1401126b9
call fcn.140002fa0
mov rsi, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1401126b0
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 0x1401126c5
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.1400032e0
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 0x140112725
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov r8, qword [rsp + 0xe8]
lea r10, str.Users_Manual_
mov rax, qword [rbx]
cmp rsi, r14
ja 0x140112731
lea r10, [rax + rsi*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + r14*2]
mov r9, rdx
mov r8, r10
call fcn.1401448d0
test edi, edi
js 0x140112b4f
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112b4f
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 0x1401127c9
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov ecx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0x38]
mov rax, qword [rbx]
cmp rsi, rcx
ja 0x1401127d5
lea r14, [rax + rsi*2]
movsxd rdx, r8d
add rdx, rdx
lea rcx, [rax + rcx*2]
mov r9, rdx
mov r8, r14
call fcn.1401448d0
test edi, edi
js 0x140112b44
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112b44
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.140063270
mov r14, rax
mov r8, qword [rax]
xor edx, edx
lea rdi, [0x14017f438]
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x14011283c
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x140112862
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112892
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140112892
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140112a9b
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112892
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.140063270
mov r13, rax
mov r8, qword [rax]
xor edx, edx
lea r14, [0x14017f438]
mov rdi, r14
mov rsi, r8
mov rcx, r15
repe cmpsw word [rsi], word [rdi]
je 0x1401128c4
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x1401128ea
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14011291b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14011291b
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401129f1
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14011291b
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.140063270
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 0x14011294d
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne al
test al, al
jne 0x140112973
lea rdx, [r8 - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401129a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401129a0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401129c2
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401129a0
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.1400032e0
jmp 0x140112d51
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401129e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r13
mov rcx, rbx
call fcn.14003c4e0
jmp 0x140112d51
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112a10
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 0x140112a4f
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp rsi, r13
ja 0x140112a5b
lea r12, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.1401448d0
test edi, edi
js 0x140112a90
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112a90
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140112d51
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112ab9
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 0x140112af8
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp rsi, r12
ja 0x140112b04
lea r13, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140112b39
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112b39
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140112d51
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112b78
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 0x140112bc5
mov edx, edi
mov rcx, rbx
call fcn.140002da0
lea r8, str..chm
mov rax, qword [rbx]
cmp rsi, r12
ja 0x140112bd1
lea r8, [rax + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
call fcn.1401448d0
test edi, edi
js 0x140112c03
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112c03
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140112d51
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112c2c
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 0x140112c6b
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp rsi, r13
ja 0x140112c77
lea r12, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.1401448d0
test edi, edi
js 0x140112cac
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112cac
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140112d51
mov ecx, 0x80070057
call fcn.140002d80
int3
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140112cd6
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 0x140112d15
mov edx, edi
mov rcx, rbx
call fcn.140002da0
mov rax, qword [rbx]
cmp rsi, r12
ja 0x140112d21
lea r13, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r12*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140112db6
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140112db6
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 0x140112d72
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 0x140112d93
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 0x140112db1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
jmp 0x140112de2
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
nop
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret