Function at 0x1400742b0
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.140180a70
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x10210], rbx
mov rax, qword [0x14020e318]
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.14013e120
mov rcx, rax
xor r12d, r12d
mov edx, r12d
test rax, rax
setne dl
test edx, edx
jne 0x14007432c
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rdx, [0x14019bd68]
or rbp, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140074375
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140074396
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005140
mov rsi, qword [rsp + 0x50]
jmp 0x140074396
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.1400038f0
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 0x140074968
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 0x1400743dc
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 0x140074457
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400744e1
cmp dword [rdx + 0x10], eax
jge 0x140074429
cmp dword [rsi - 0xc], eax
jge 0x14007441d
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x1400744e1
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074440
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 0x1400744e1
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 0x14007448a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x1400744aa
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14015c620
jmp 0x1400744c7
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.14015c410
test edi, edi
js 0x14007495d
cmp edi, dword [rsi - 0xc]
jg 0x14007495d
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
xor eax, eax
mov rcx, rbp
lea r13, [0x14019d8a0]
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 0x14007452e
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140074537
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074952
cmp edi, dword [rsi - 0xc]
jg 0x140074952
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 0x1400745a9
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x1400745b2
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074947
cmp edi, dword [rsi - 0xc]
jg 0x140074947
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 0x140074611
cmp rax, qword [r13]
jne 0x140074611
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x140074653
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14007462e
call fcn.1400c63c0
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.14015c410
add rbx, 0x18
mov qword [rsp + 0xb0], rbx
xor eax, eax
lea rdi, [0x14019bd68]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14007467a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x1400746a8
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400746db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140074968
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400746e5
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400746db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140074968
mov rsi, qword [rsp + 0x50]
jmp 0x140074968
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074700
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
lea rdx, [0x1401a0a6c]
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 0x14007475f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
cmp rbx, r15
ja 0x140074768
lea r14, [rsi + rbx*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r15*2]
mov r9, rdx
mov r8, r14
call fcn.14015c410
test edi, edi
js 0x14007493c
cmp edi, dword [rsi - 0xc]
jg 0x14007493c
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 0x1400747da
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x1400747e3
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074931
cmp edi, dword [rsi - 0xc]
jg 0x140074931
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x14007482d
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001cf0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140074842
mov r8d, r12d
mov dword [rsp + 0x58], r12d
mov ecx, r12d
jmp 0x14007490a
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.1401601f0
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 0x1400748cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, r12d
mov dword [rsp + 0x58], r12d
jmp 0x1400748f4
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 0x140074926
cmp ecx, dword [rsi - 0xc]
jg 0x140074926
mov dword [rsi - 0x10], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
test r8d, r8d
jne 0x140074f2d
jmp 0x140074968
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
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x1b0]
call fcn.1401601f0
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 0x140074f2d
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 0x1400749ca
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 0x140074a45
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140074acf
cmp dword [rdx + 0x10], eax
jge 0x140074a17
cmp dword [rsi - 0xc], eax
jge 0x140074a0b
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140074acf
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074a2e
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 0x140074acf
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 0x140074a78
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp r13, rbx
ja 0x140074a98
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14015c620
jmp 0x140074ab5
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x1b0]
mov rdx, rbx
mov rcx, rsi
call fcn.14015c410
test edi, edi
js 0x140074f22
cmp edi, dword [rsi - 0xc]
jg 0x140074f22
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 0x140074b1c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140074b25
lea r13, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074f17
cmp edi, dword [rsi - 0xc]
jg 0x140074f17
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 0x140074b96
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140074b9f
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074f0c
cmp edi, dword [rsi - 0xc]
jg 0x140074f0c
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 0x140074bfe
cmp rax, qword [r13]
jne 0x140074bfe
mov rbx, r13
lock add dword [r13 + 0x10], 1
jmp 0x140074c40
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 + 8]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140074c1b
call fcn.1400c63c0
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.14015c410
add rbx, 0x18
mov qword [rsp + 0xc0], rbx
xor eax, eax
lea rdi, [0x14019bd68]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140074c67
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x140074c95
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074cc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140074f2d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140074cd2
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074cc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
jmp 0x140074f2d
mov rsi, qword [rsp + 0x50]
jmp 0x140074f2d
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074ced
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, rbp
lea r8, [0x1401a0a6c]
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 0x140074d47
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
lea r8, [0x1401a0a6c]
cmp rbx, r14
ja 0x140074d50
lea r8, [rsi + rbx*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
call fcn.14015c410
test edi, edi
js 0x140074f01
cmp edi, dword [rsi - 0xc]
jg 0x140074f01
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 0x140074dbe
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c90
mov rsi, qword [rsp + 0x50]
cmp rbx, r14
ja 0x140074dc7
lea r13, [rsi + rbx*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rsi + r14*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x140074ef6
cmp edi, dword [rsi - 0xc]
jg 0x140074ef6
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
cmp dword [rsi - 8], 1
jle 0x140074e11
mov edx, dword [rsi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001cf0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140074e20
mov dword [rsp + 0x58], r12d
jmp 0x140074ed6
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x140]
call fcn.1401601f0
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 0x140074e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], r12d
jmp 0x140074ebd
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 0x140074eeb
cmp r12d, dword [rsi - 0xc]
jg 0x140074eeb
mov dword [rsi - 0x10], r12d
movsxd rax, r12d
mov word [rsi + rax*2], 0
jmp 0x140074f2d
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
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
lea rdx, [rsi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140074f49
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 0x140074f6d
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 0x140074f8e
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.14015b6f0
mov rbx, qword [rsp + 0x10210]
add rsp, 0x101c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret