Function at 0x140072460
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Get program files directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x101c0
call fcn.140166d30
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x10210], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x101b0], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xa0], rdx
call fcn.140129a50
mov rcx, rax
xor r12d, r12d
mov edx, r12d
test rax, rax
setne dl
test edx, edx
jne 0x1400724dc
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rdx, [0x14017f438]
or rbp, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140072525
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140072546
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140004d70
mov rsi, qword [rsp + 0x50]
jmp 0x140072546
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.1400032e0
mov rsi, qword [rsp + 0x50]
mov dword [rsp + 0x58], r12d
mov edx, 0x7fff
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140072b18
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x1b0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x1ac], 0x5c
jne 0x14007258c
mov word [rsp + rcx*2 + 0x1ac], ax
mov rcx, rbp
lea rdi, [rsp + 0x1b0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140072607
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140072691
cmp dword [rdx + 0x10], eax
jge 0x1400725d9
cmp dword [rsi - 0xc], eax
jge 0x1400725cd
mov ecx, 0x80070057
call fcn.140002d80
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140072691
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400725f0
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 rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
jmp 0x140072691
mov ebx, dword [rsi - 0x10]
lea r13, [rsp + 0x1b0]
sub r13, rsi
sar r13, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14007263a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x14007265a
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144840
jmp 0x140072677
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.1401448d0
test edi, edi
js 0x140072b0d
cmp edi, dword [rsi - 0xc]
jg 0x140072b0d
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
xor eax, eax
mov rcx, rbp
lea r13, [0x140180dfc]
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x1400726de
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x1400726e7
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140072b02
cmp edi, dword [rsi - 0xc]
jg 0x140072b02
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
mov r13, qword [rsp + 0x60]
mov r13, qword [r13]
movsxd r15, dword [r13 - 0x10]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140072759
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072762
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140072af7
cmp edi, dword [rsi - 0xc]
jg 0x140072af7
lea r15, [rsi - 0x10]
mov dword [r15], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
lea r13, [rsi - 0x18]
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [r13 + 0x10], 0
jl 0x1400727c1
cmp rax, qword [r13]
jne 0x1400727c1
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x140072803
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1400727de
call fcn.1400b7790
int3
mov eax, dword [r13 + 8]
mov dword [rbx + 8], eax
mov eax, dword [r13 + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [r13 + 0x18]
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.1401448d0
add rbx, 0x18
mov qword [rsp + 0xb0], rbx
xor eax, eax
lea rdi, [0x14017f438]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14007282a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x140072858
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007288b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140072b18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140072895
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007288b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140072b18
mov rsi, qword [rsp + 0x50]
jmp 0x140072b18
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400728b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
lea rdx, [0x140183e9c]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov qword [rsp + 0x58], rcx
mov r14, rdx
mov rbx, rdx
mov rsi, qword [rsp + 0x50]
sub rbx, rsi
sar rbx, 1
mov r15d, dword [r15]
lea edi, [r15 + rcx]
mov edx, 1
sub edx, dword [r13 + 0x10]
mov eax, dword [r13 + 0xc]
sub eax, edi
or eax, edx
jge 0x14007290f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
cmp rbx, r15
ja 0x140072918
lea r14, [rsi + rbx*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r15*2]
mov r9, rdx
mov r8, r14
call fcn.1401448d0
test edi, edi
js 0x140072aec
cmp edi, dword [rsi - 0xc]
jg 0x140072aec
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
mov r13, qword [rsp + 0x68]
mov r13, qword [r13]
movsxd r15, dword [r13 - 0x10]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14007298a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072993
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x140072ae1
cmp edi, dword [rsi - 0xc]
jg 0x140072ae1
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x1400729dd
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002e00
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x1400729f2
mov r8d, r12d
mov dword [rsp + 0x58], r12d
mov ecx, r12d
jmp 0x140072aba
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.1401489d0
mov dword [rsp + 0xd0], 0x68
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140072a7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, r12d
mov dword [rsp + 0x58], r12d
jmp 0x140072aa4
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 1
mov dword [rsp + 0x58], r8d
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140072ad6
cmp ecx, dword [rsi - 0xc]
jg 0x140072ad6
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test r8d, r8d
jne 0x1400730dd
jmp 0x140072b18
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
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x1b0]
call fcn.1401489d0
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400730dd
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x1b0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x1ac], 0x5c
jne 0x140072b7a
mov word [rsp + rcx*2 + 0x1ac], ax
mov rcx, rbp
lea rdi, [rsp + 0x1b0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140072bf5
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140072c7f
cmp dword [rdx + 0x10], eax
jge 0x140072bc7
cmp dword [rsi - 0xc], eax
jge 0x140072bbb
mov ecx, 0x80070057
call fcn.140002d80
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140072c7f
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072bde
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 rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
jmp 0x140072c7f
mov ebx, dword [rsi - 0x10]
lea r13, [rsp + 0x1b0]
sub r13, rsi
sar r13, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140072c28
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x140072c48
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144840
jmp 0x140072c65
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.1401448d0
test edi, edi
js 0x1400730d2
cmp edi, dword [rsi - 0xc]
jg 0x1400730d2
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
xor eax, eax
mov rcx, rbp
lea r13, str.RealtekAudioAP_
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x140072ccc
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072cd5
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x1400730c7
cmp edi, dword [rsi - 0xc]
jg 0x1400730c7
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
mov rax, qword [rsp + 0x60]
mov r13, qword [rax]
movsxd r15, dword [r13 - 0x10]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140072d46
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072d4f
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x1400730bc
cmp edi, dword [rsi - 0xc]
jg 0x1400730bc
lea r14, [rsi - 0x10]
mov dword [r14], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
lea r13, [rsi - 0x18]
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [r13 + 0x10], 0
jl 0x140072dae
cmp rax, qword [r13]
jne 0x140072dae
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x140072df0
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140072dcb
call fcn.1400b7790
int3
mov eax, dword [r13 + 8]
mov dword [rbx + 8], eax
mov eax, dword [r13 + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [r13 + 0x18]
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.1401448d0
add rbx, 0x18
mov qword [rsp + 0xc0], rbx
xor eax, eax
lea rdi, [0x14017f438]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140072e17
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x140072e45
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072e78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x1400730dd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140072e82
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072e78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x1400730dd
mov rsi, qword [rsp + 0x50]
jmp 0x1400730dd
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072e9d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
lea r8, [0x140183e9c]
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rbx, r8
mov rsi, qword [rsp + 0x50]
sub rbx, rsi
sar rbx, 1
mov r14d, dword [r14]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [r13 + 0x10]
mov eax, dword [r13 + 0xc]
sub eax, edi
or eax, edx
jge 0x140072ef7
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
lea r8, [0x140183e9c]
cmp rbx, r14
ja 0x140072f00
lea r8, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
call fcn.1401448d0
test edi, edi
js 0x1400730b1
cmp edi, dword [rsi - 0xc]
jg 0x1400730b1
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
mov rax, qword [rsp + 0x68]
mov r13, qword [rax]
movsxd r15, dword [r13 - 0x10]
mov rbx, r13
sub rbx, rsi
sar rbx, 1
mov r14d, dword [rsi - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140072f6e
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002da0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072f77
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.1401448d0
test edi, edi
js 0x1400730a6
cmp edi, dword [rsi - 0xc]
jg 0x1400730a6
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x140072fc1
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002e00
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140072fd0
mov dword [rsp + 0x58], r12d
jmp 0x140073086
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x140]
call fcn.1401489d0
mov dword [rsp + 0x140], 0x68
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14007304f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], r12d
jmp 0x14007306d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x58], 1
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r12d, ecx
test ecx, ecx
js 0x14007309b
cmp r12d, dword [rsi - 0xc]
jg 0x14007309b
mov dword [rsi - 0x10], r12d
movsxd rax, r12d
mov word [rsi + rax*2], 0
jmp 0x1400730dd
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
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
nop
lea rdx, [rsi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400730f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007311d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14007313e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x101b0]
xor rcx, rsp
call fcn.1401447b0
mov rbx, qword [rsp + 0x10210]
add rsp, 0x101c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret