Function at 0x140003a80
Capabilities:
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
lea rcx, str.restart_browser___RunAgentExe_Start
call fcn.1400102d0
mov word [rbp + 0x10], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x12]
call fcn.14021f8d0
mov edx, 6
lea rcx, [rbp - 0x40]
call fcn.14000fe90
nop
mov r8d, 4
lea rdx, [0x140287404]
lea rcx, [rbp - 0x40]
call fcn.140004520
lea r8, [rbp - 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140004880
mov rbx, rax
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x140003b7d
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140003b4e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e70
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bad0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayGetDim
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003bba
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e70
call fcn.140014a40
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x1d
lea rdx, [0x140287410]
lea rcx, [rsp + 0x30]
call fcn.140004c40
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400104c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003c2f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e76
call fcn.140014a40
lea rcx, str.restart_browser___RunAgentExe_CopyFileA_done
call fcn.1400102d0
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r8, qword [rbp - 0x40]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov r8, rbx
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1400049e0
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r8, qword [rbp - 0x40]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
lea rdx, [0x14028845c]
call fcn.1401f403c
test rax, rax
je 0x140003cec
mov rcx, rax
call fcn.1401eee50
mov eax, 1
jmp 0x140003cee
mov eax, esi
lea rdx, str.restart_browser___RunAgentExe_CopyFileA_Faild
lea rcx, str.restart_browser___RunAgentExe_CopyFileA_OK
test eax, eax
cmove rcx, rdx
call fcn.1400102d0
cmp qword [rdi + 0x18], 7
jbe 0x140003d11
mov rdi, qword [rdi]
lea r8, [rbp - 0x18]
cmp qword [rbp], 7
cmova r8, qword [rbp - 0x18]
mov r9, rdi
lea rdx, [0x1402874c0]
lea rcx, [rbp + 0x10]
call fcn.1400025c0
mov dword [rsp + 0x50], VarBstrFromDisp
mov dword [rsp + 0x54], 0x40
mov qword [rsp + 0x58], rsi
lea rax, [0x1402882e8]
mov qword [rsp + 0x60], rax
lea rax, [0x1402874d8]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140003d9f
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp - 0x20], esi
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.restart_browser___RunAgentExe_End
call fcn.1400102d0
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140003e00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e7c
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bac0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140003e48
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e6a
call fcn.140014a40
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14004d990
mov rbx, qword [rsp + 0x360]
add rsp, 0x330
pop rdi
pop rsi
pop rbp
ret
call fcn.1401f4404
nop
call fcn.1401f4404
nop
call fcn.1401f4404
int3
call fcn.1401f4404
int3