Function at 0x140022370
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4da0]
mov eax, 0x4ea0
call fcn.140193d30
sub rsp, rax
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x4ed0], rbx
mov qword [rsp + 0x4ed8], rsi
mov qword [rsp + 0x4ee0], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x4d90], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteINF
lea rcx, [rsp + 0x58]
call fcn.14000b870
nop
mov r14d, 1
mov dword [rsp + 0x38], r14d
lea rcx, [rbp + 0x25d0]
call fcn.140049330
nop
lea rcx, [rbp - 0x10]
call fcn.14004f524
nop
lea rcx, [rbp - 0x38]
call fcn.14004f524
nop
call fcn.14004cde4
mov rcx, rax
xor r12d, r12d
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x140022424
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rsi, [0x1402145dc]
mov rdi, rsi
shr rdi, 0x10
test rdi, rdi
jne 0x140022467
movzx ebx, si
mov ecx, ebx
call fcn.14004cbb8
test rax, rax
je 0x140022478
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400012a0
jmp 0x140022478
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400014d0
nop
call fcn.14004cde4
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x140022498
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
test rdi, rdi
jne 0x1400224cd
movzx ebx, si
mov ecx, ebx
call fcn.14004cbb8
test rax, rax
je 0x1400224de
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400012a0
jmp 0x1400224de
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400014d0
nop
call fcn.14004cde4
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x1400224fe
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
test rdi, rdi
jne 0x140022533
movzx edi, si
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x140022544
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400012a0
jmp 0x140022544
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400014d0
nop
lea rcx, [rbp + 0x20]
call fcn.140049330
nop
lea rcx, [rbp - 0x78]
call fcn.14004f524
nop
mov r15d, r12d
call fcn.140050920
mov rdi, qword [rax + 8]
call fcn.14000cc50
mov rcx, qword [rdi + 0x160]
sub rcx, 0x18
call fcn.140001620
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
or rsi, 0xffffffffffffffff
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.14004f634
lea r13, [rdi - 0x10]
nop dword [rax + rax]
test r12d, r12d
js 0x140022634
cmp r12d, dword [r13]
jge 0x140022634
mov edx, 9
movsxd rax, r12d
lea rcx, [rdi + rax*2]
call fcn.14018efd4
mov rbx, rax
test rax, rax
je 0x140022634
sub rbx, rdi
sar rbx, 1
test ebx, ebx
js 0x140022634
cmp ebx, r12d
jle 0x14002262b
mov r9d, ebx
sub r9d, r12d
mov r8d, r12d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400059d0
nop
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x78]
call fcn.14004fb34
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022626
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x40]
lea r12d, [rbx + 1]
jmp 0x1400225a0
mov r8d, r12d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140016680
nop
lea r8, [rsp + 0x78]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x78]
call fcn.14004fb34
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022679
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x104
lea rcx, [rbp + 0x4b80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x14002276a
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x58]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400226d2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x78]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x20]
call fcn.140049500
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022706
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022726
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], esi
dec esi
test esi, esi
jg 0x140022744
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x38]
call fcn.14004f9c0
nop
lea rcx, [rbp - 0x10]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x25d0]
call fcn.140049500
nop
jmp 0x1400230aa
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x4b80]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rbx, rcx
test ecx, ecx
jne 0x1400227ed
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], ecx
je 0x140022876
cmp dword [rdx + 0x10], ecx
jge 0x1400227c0
cmp dword [rax - 0xc], ecx
jge 0x1400227b0
mov ecx, 0x80070057
call fcn.140001000
int3
xor r13d, r13d
mov dword [rax - 0x10], r13d
mov word [rax], r13w
jmp 0x140022879
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400227d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140022876
mov rdi, qword [rsp + 0x30]
mov r13d, dword [rdi - 0x10]
lea r12, [rbp + 0x4b80]
sub r12, rdi
sar r12, 1
test ecx, ecx
jns 0x140022812
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, r14d
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x140022832
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rdi, qword [rsp + 0x30]
movsxd rax, ebx
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140022856
lea r8, [rdi + r12*2]
call fcn.14018e5f0
jmp 0x140022862
lea r8, [rbp + 0x4b80]
call fcn.14018e7d0
cmp ebx, dword [rdi - 0xc]
jg 0x14002309f
mov dword [rdi - 0x10], ebx
xor ecx, ecx
mov word [r13 + rdi], cx
xor r13d, r13d
mov r8d, VariantTimeToDosDateTime
lea rdx, str.infother_
lea rcx, [rsp + 0x30]
call fcn.140006350
mov rbx, qword [rsp + 0x30]
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x1400228bb
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14004bbb0
mov r12d, eax
test eax, eax
jle 0x140022957
mov r15d, r14d
lea rcx, [rbx - 0x18]
call fcn.140001620
add rax, 0x18
mov qword [rbp - 0x50], rax
mov r9d, r12d
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.1400230f0
mov dword [rsp + 0x38], eax
mov r12, qword [rbx - 0x18]
cmp dword [rbx - 0x10], 0
je 0x140022957
cmp dword [rbx - 8], 0
jge 0x140022929
cmp dword [rbx - 0xc], 0
jge 0x14002291f
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140022957
mov eax, esi
lock xadd dword [rbx - 8], eax
dec eax
test eax, eax
jg 0x140022944
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x4b80]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400229d2
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140022a56
cmp dword [rdx + 0x10], eax
jge 0x1400229a5
cmp dword [rbx - 0xc], eax
jge 0x140022998
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140022a56
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400229bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140022a56
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x4b80]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x1400229f2
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140022a12
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140022a36
lea r8, [rbx + r12*2]
call fcn.14018e5f0
jmp 0x140022a42
lea r8, [rbp + 0x4b80]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x140023094
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
mov r8d, 5
lea rdx, str.inf_
lea rcx, [rsp + 0x30]
call fcn.140006350
mov rbx, qword [rsp + 0x30]
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140022a98
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14004bbb0
mov r12d, eax
test eax, eax
jle 0x140022be9
mov r15d, r14d
lea rcx, [rbx - 0x18]
call fcn.140001620
add rax, 0x18
mov qword [rbp - 0x40], rax
mov r9d, r12d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.1400230f0
test eax, eax
je 0x140022be9
cmp dword [rsp + 0x38], 0
jne 0x140022be9
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14018f24c
test eax, eax
js 0x140022bde
cmp eax, dword [rbx - 0xc]
jg 0x140022bde
mov dword [rbx - 0x10], eax
cdqe
xor ecx, ecx
mov word [rbx + rax*2], cx
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rcx + 2]
lea rcx, [rsp + 0x58]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022b4a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x78]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x20]
call fcn.140049500
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022b7e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022b9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [rbx - 8], esi
dec esi
test esi, esi
jg 0x140022bb8
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x38]
call fcn.14004f9c0
nop
lea rcx, [rbp - 0x10]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x25d0]
call fcn.140049500
nop
jmp 0x1400230aa
mov ecx, 0x80070057
call fcn.140001000
int3
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14018f24c
test eax, eax
js 0x140023089
cmp eax, dword [rbx - 0xc]
jg 0x140023089
mov dword [rbx - 0x10], eax
cdqe
xor r13d, r13d
mov word [rbx + rax*2], r13w
test r15d, r15d
jne 0x140022faa
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x6c], 0x208
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140022c8c
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4b80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.SystemRoot
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], r13d
je 0x140022ce2
cmp dword [rdx + 0x10], r13d
jge 0x140022cba
cmp dword [rbx - 0xc], r13d
jge 0x140022cb0
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140022ce2
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022cd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x4b80]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140022d5d
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140022de4
cmp dword [rdx + 0x10], eax
jge 0x140022d30
cmp dword [rbx - 0xc], eax
jge 0x140022d23
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140022de4
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022d46
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140022de4
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x4b80]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x140022d7d
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140022d9d
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140022dc1
lea r8, [rbx + r12*2]
call fcn.14018e5f0
jmp 0x140022dcd
lea r8, [rbp + 0x4b80]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x140022f9f
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
xor r13d, r13d
mov r8d, 5
lea rdx, str.inf_
lea rcx, [rsp + 0x30]
call fcn.140006350
mov rdi, qword [rsp + 0x30]
sub r14d, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, r14d
jge 0x140022e25
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14004bbb0
mov r12d, eax
test eax, eax
jle 0x140022f73
lea rcx, [rdi - 0x18]
call fcn.140001620
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r9d, r12d
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.1400230f0
test eax, eax
je 0x140022f73
cmp dword [rsp + 0x38], 0
jne 0x140022f73
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.14018f24c
test eax, eax
js 0x140022f68
cmp eax, dword [rdi - 0xc]
jg 0x140022f68
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x58]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022ed4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x78]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x20]
call fcn.140049500
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022f08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022f28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [rdi - 8], esi
dec esi
test esi, esi
jg 0x140022f42
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x38]
call fcn.14004f9c0
nop
lea rcx, [rbp - 0x10]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x25d0]
call fcn.140049500
nop
jmp 0x1400230aa
mov ecx, 0x80070057
call fcn.140001000
int3
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.14018f24c
test eax, eax
js 0x140022f94
cmp eax, dword [rdi - 0xc]
jg 0x140022f94
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
jmp 0x140022faa
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov edi, dword [rsp + 0x38]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140022fe8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x78]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x20]
call fcn.140049500
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002301c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002303c
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], esi
dec esi
test esi, esi
jg 0x14002305a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x38]
call fcn.14004f9c0
nop
lea rcx, [rbp - 0x10]
call fcn.14004f9c0
nop
lea rcx, [rbp + 0x25d0]
call fcn.140049500
nop
lea rcx, [rsp + 0x58]
call fcn.14000ba00
mov eax, edi
jmp 0x1400230b6
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
lea rcx, [rsp + 0x58]
call fcn.14000ba00
xor eax, eax
mov rcx, qword [rbp + 0x4d90]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x4ea0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret