Function at 0x1400761f0
Capabilities:
Check if file exists
Create thread
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x350], rax
xor r8d, r8d
lea rdx, [0x1401b5114]
mov rcx, qword [rsp + 0x370]
call fcn.140078bc0
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x1d8]
call fcn.140010250
nop
lea rcx, [rsp + 0x218]
call fcn.140010250
nop
cmp dword [rsp + 0x30], 0xffffffff
je 0x140076329
movsxd rax, dword [rsp + 0x30]
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x370]
call fcn.140022c10
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x1d8]
call fcn.140015370
nop
lea rcx, [rsp + 0x118]
call fcn.140010220
mov rcx, qword [rsp + 0x370]
call fcn.140009780
movsxd rcx, dword [rsp + 0x30]
sub rax, rcx
dec rax
mov ecx, dword [rsp + 0x30]
inc ecx
movsxd rcx, ecx
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x370]
call fcn.140022c10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x218]
call fcn.140015370
nop
lea rcx, [rsp + 0x138]
call fcn.140010220
jmp 0x14007633e
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x1d8]
call fcn.140023000
lea rcx, [rsp + 0x1d8]
call fcn.14001b5f0
lea rcx, [rsp + 0x218]
call fcn.14001b5f0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x88]
call fcn.1400230d0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140076070
movzx eax, al
test eax, eax
jne 0x1400763de
lea rdx, [0x1401b5124]
mov rcx, qword [rsp + 0x378]
call fcn.1400104f0
nop
lea rcx, [rsp + 0x218]
call fcn.140010220
nop
lea rcx, [rsp + 0x1d8]
call fcn.140010220
jmp 0x14007680b
lea r8, [0x1401b5154]
lea rdx, [0x140217a30]
lea rcx, [rsp + 0x158]
call fcn.140025700
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea r8, [rsp + 0x1d8]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
call fcn.1400795a0
nop
lea rcx, [rsp + 0x158]
call fcn.140010220
lea rcx, [rsp + 0x1f8]
call fcn.1400101f0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140023080
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x178]
call fcn.14001ab50
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1400097a0
mov rcx, rax
call fcn.14002c290
nop
lea rcx, [rsp + 0x178]
call fcn.140009960
nop
lea rcx, [rsp + 0xf8]
call fcn.140010220
lea rcx, [rsp + 0x198]
call fcn.140064c30
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400097a0
mov rcx, rax
call fcn.14002c290
nop
lea rcx, [rsp + 0x198]
call fcn.140009960
mov dword [rsp + 0x60], 0xfffffffe
mov dword [rsp + 0x38], 9
lea rcx, [rsp + 0x1f8]
call fcn.1400101f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400767cd
cmp qword [rsp + 0x380], 0
je 0x140076645
mov rax, qword [rsp + 0x380]
cmp qword [rax + 0x20], 0
je 0x140076645
mov rax, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x380]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x140076645
mov ecx, 0x104
call fcn.140138904
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x380]
movsxd rax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x380]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rsp + 0xd0]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x380]
movsxd rax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x380]
mov rcx, qword [rcx + 0x20]
mov rdi, qword [rcx + rax*8]
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1f8]
call fcn.140009780
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x1f8]
call fcn.1400101f0
mov rcx, qword [rsp + 0x380]
movsxd rcx, dword [rcx + 0x28]
mov rdx, qword [rsp + 0x380]
mov rdx, qword [rdx + 0x20]
mov qword [rsp + 0xe0], rdx
mov rdi, qword [rsp + 0xd8]
mov r9, rdi
mov r8, rax
mov edx, 0x104
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + rcx*8]
call fcn.14000a930
mov rax, qword [rsp + 0x380]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x380]
mov dword [rcx + 0x28], eax
mov ecx, 0x48
call fcn.140138614
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14007666d
mov rcx, qword [rsp + 0x58]
call fcn.140064b20
mov qword [rsp + 0x50], rax
jmp 0x140076676
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140076754
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x1f8]
mov rcx, rax
call fcn.140023000
mov rax, qword [rsp + 0x40]
add rax, 0x20
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.140023000
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140076120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140076754
mov dword [rsp + 0x34], 0x493e0
xor r8d, r8d
lea rdx, str.W.P.S
lea rcx, [rsp + 0x1d8]
call fcn.140078bc0
cmp rax, 0xffffffffffffffff
je 0x14007672b
mov dword [rsp + 0x34], 0xea60
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140076749
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x1f8]
call fcn.1400101f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rsp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x38]
lea rdx, [0x1401b5134]
lea rcx, [rsp + 0x240]
call fcn.140017d50
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x378]
call fcn.1400104f0
lea rdx, [0x1401b5144]
mov rcx, qword [rsp + 0x378]
call fcn.1400104f0
jmp 0x1400767e2
lea rdx, [0x1401b5184]
mov rcx, qword [rsp + 0x378]
call fcn.1400104f0
nop
lea rcx, [rsp + 0x1f8]
call fcn.140010220
nop
lea rcx, [rsp + 0x218]
call fcn.140010220
nop
lea rcx, [rsp + 0x1d8]
call fcn.140010220
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140138320
add rsp, 0x360
pop rdi
ret