Function at 0x140072640
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.140167340
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.14012a060
mov rcx, rax
xor r12d, r12d
mov edx, r12d
test rax, rax
setne dl
test edx, edx
jne 0x1400726bc
mov ecx, 0x80004005
call fcn.140002cb0
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 0x140072705
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x140072726
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140004c30
mov rsi, qword [rsp + 0x50]
jmp 0x140072726
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.140003210
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 0x140072cf8
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 0x14007276c
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 0x1400727e7
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140072871
cmp dword [rdx + 0x10], eax
jge 0x1400727b9
cmp dword [rsi - 0xc], eax
jge 0x1400727ad
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140072871
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400727d0
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 0x140072871
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 0x14007281a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x14007283a
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144e50
jmp 0x140072857
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x140072ced
cmp edi, dword [rsi - 0xc]
jg 0x140072ced
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 0x1400728be
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x1400728c7
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x140072ce2
cmp edi, dword [rsi - 0xc]
jg 0x140072ce2
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 0x140072939
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072942
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x140072cd7
cmp edi, dword [rsi - 0xc]
jg 0x140072cd7
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 0x1400729a1
cmp rax, qword [r13]
jne 0x1400729a1
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x1400729e3
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1400729be
call fcn.1400b7870
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.140144ee0
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 0x140072a0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x140072a38
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072a6b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140072cf8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140072a75
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072a6b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140072cf8
mov rsi, qword [rsp + 0x50]
jmp 0x140072cf8
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072a90
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 0x140072aef
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
cmp rbx, r15
ja 0x140072af8
lea r14, [rsi + rbx*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r15*2]
mov r9, rdx
mov r8, r14
call fcn.140144ee0
test edi, edi
js 0x140072ccc
cmp edi, dword [rsi - 0xc]
jg 0x140072ccc
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 0x140072b6a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072b73
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x140072cc1
cmp edi, dword [rsi - 0xc]
jg 0x140072cc1
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x140072bbd
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002d30
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140072bd2
mov r8d, r12d
mov dword [rsp + 0x58], r12d
mov ecx, r12d
jmp 0x140072c9a
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140148fe0
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 0x140072c5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, r12d
mov dword [rsp + 0x58], r12d
jmp 0x140072c84
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 0x140072cb6
cmp ecx, dword [rsi - 0xc]
jg 0x140072cb6
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test r8d, r8d
jne 0x1400732bd
jmp 0x140072cf8
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x1b0]
call fcn.140148fe0
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 0x1400732bd
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 0x140072d5a
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 0x140072dd5
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140072e5f
cmp dword [rdx + 0x10], eax
jge 0x140072da7
cmp dword [rsi - 0xc], eax
jge 0x140072d9b
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140072e5f
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072dbe
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 0x140072e5f
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 0x140072e08
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x140072e28
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144e50
jmp 0x140072e45
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x1400732b2
cmp edi, dword [rsi - 0xc]
jg 0x1400732b2
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 0x140072eac
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072eb5
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x1400732a7
cmp edi, dword [rsi - 0xc]
jg 0x1400732a7
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 0x140072f26
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140072f2f
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x14007329c
cmp edi, dword [rsi - 0xc]
jg 0x14007329c
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 0x140072f8e
cmp rax, qword [r13]
jne 0x140072f8e
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x140072fd0
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140072fab
call fcn.1400b7870
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.140144ee0
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 0x140072ff7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x140073025
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073058
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x1400732bd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140073062
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073058
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x1400732bd
mov rsi, qword [rsp + 0x50]
jmp 0x1400732bd
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007307d
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 0x1400730d7
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
lea r8, [0x140183e9c]
cmp rbx, r14
ja 0x1400730e0
lea r8, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
call fcn.140144ee0
test edi, edi
js 0x140073291
cmp edi, dword [rsi - 0xc]
jg 0x140073291
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 0x14007314e
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002cd0
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140073157
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.140144ee0
test edi, edi
js 0x140073286
cmp edi, dword [rsi - 0xc]
jg 0x140073286
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x1400731a1
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002d30
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x1400731b0
mov dword [rsp + 0x58], r12d
jmp 0x140073266
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x140]
call fcn.140148fe0
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 0x14007322f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], r12d
jmp 0x14007324d
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 0x14007327b
cmp r12d, dword [rsi - 0xc]
jg 0x14007327b
mov dword [rsi - 0x10], r12d
movsxd rax, r12d
mov word [rsi + rax*2], 0
jmp 0x1400732bd
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
nop
lea rdx, [rsi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400732d9
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 0x1400732fd
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 0x14007331e
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.140144dc0
mov rbx, qword [rsp + 0x10210]
add rsp, 0x101c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret