Function at 0x140005200
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x120
call fcn.14000b4d0
sub rsp, rax
call fcn.140003dd0
mov dword [rsp + 0x150], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x30], xmm0
mov edi, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0xf0], r15
movdqu xmmword [rsp + 0x108], xmm0
lea rax, [0x14000c654]
mov qword [rsp + 0xf8], rax
lea rax, [0x140010068]
cmp qword [0x140010080], 8
cmovae rax, qword [0x140010068]
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x48]
call fcn.140003980
mov rbx, qword [0x140010788]
mov rsi, qword [0x140010790]
mov rax, qword [rsp + 0x38]
nop dword [rax]
cmp rbx, rsi
je 0x140005351
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 8]
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x6c], r15d
mov qword [rsp + 0x80], r15
cmp qword [rdx + 0x18], 8
jb 0x1400052dd
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
cmp qword [rcx + 0x18], 8
jb 0x1400052ec
mov rcx, qword [rcx]
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x68], 0xffffffff
cmp rax, rdi
je 0x14000532c
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [rsp + 0x80]
movsd qword [rax + 0x20], xmm0
add rax, 0x28
mov qword [rsp + 0x38], rax
add rbx, 0x48
jmp 0x1400052b0
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400071f0
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
add rbx, 0x48
jmp 0x1400052b0
lea rdx, [rsp + 0xf0]
cmp qword [0x140010078], 0
cmove rdx, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
lea rcx, [0x140010048]
cmp qword [0x140010060], 8
cmovae rcx, qword [0x140010048]
mov qword [rsp + 0x98], rcx
cmp qword [0x140010098], 0
je 0x1400053da
lea rcx, [0x140010088]
cmp qword [0x1400100a0], 8
cmovae rcx, qword [0x140010088]
jmp 0x1400053dd
mov rcx, r15
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
sub rdx, rbx
mov rcx, r15
cmovne rcx, rbx
mov qword [rsp + 0xd8], rcx
sar rdx, 3
movabs r12, 0xcccccccccccccccd
imul rdx, r12
mov dword [rsp + 0xd0], edx
mov rcx, qword [rsp + 0xe8]
mov r14, qword [rsp + 0x30]
cmp r14, rax
cmovne rcx, r14
mov qword [rsp + 0xe8], rcx
sub rax, r14
sar rax, 3
imul rax, r12
mov dword [rsp + 0xe0], eax
lea r8, [rsp + 0x90]
call fcn.140001850
mov esi, eax
cmp eax, 1
cmove esi, r15d
mov dword [rsp + 0x150], esi
test r14, r14
je 0x1400054b6
sub rdi, r14
sar rdi, 3
imul rdi, r12
lea rdx, [rdi + rdi*4]
shl rdx, 3
mov rax, r14
cmp rdx, 0x1000
jb 0x1400054ad
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000a684
nop
test rbx, rbx
je 0x140005504
mov rax, qword [rsp + 0x58]
sub rax, rbx
sar rax, 3
imul rax, r12
lea rdx, [rax + rax*4]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400054fb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000a684
nop
jmp 0x14000550d
mov rdi, qword [0x140010790]
mov rbx, qword [0x140010788]
cmp rbx, rdi
je 0x14000554a
add rbx, 0x28
cmp byte [rbx - 0x28], 0
jne 0x14000553d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140005537
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rbx, 0x48
lea rax, [rbx - 0x28]
cmp rax, rdi
jne 0x140005524
test esi, esi
je 0x14000555e
test byte [0x1400107d8], 9
je 0x14000555e
mov ecx, esi
call fcn.140004cb0
mov eax, esi
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret