Function at 0x140028700
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r14d, edx
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r15d, 0xf
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
xor r12b, r12b
mov byte [rsp + 0x60], r12b
mov rdx, qword [rcx + 0x2598]
test rdx, rdx
je 0x1400292c6
mov rdx, qword [rdx + 0xb0]
add rdx, 0x2da8
mov r9d, r14d
lea r8, str.__5_9._6t_66
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x14c8
mov r9d, r14d
lea r8, str.___6.7_t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x898
mov r9d, r14d
lea r8, str.___6._t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xaa0
mov r9d, r14d
lea r8, str.___375t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xca8
mov r9d, r14d
lea r8, str.75__375t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xdac
mov r9d, r14d
lea r8, str.83__375t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x13c4
mov r9d, r14d
lea r8, str._3_3.241t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x9808
mov r9d, r14d
lea r8, str.______iht_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x35c8
mov r9d, r14d
lea r8, str._4__3t___
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x690
mov r9d, r14d
lea r8, str.__5_9._6t__
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x2eac
mov r9d, r14d
lea r8, str.__2_._t___
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x2fb0
mov r9d, r14d
lea r8, str.__9__._t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x488
mov r9d, r14d
lea r8, str.479__7t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x30b4
mov r9d, r14d
lea r8, str.___6___t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x34c4
mov r9d, r14d
lea r8, str.___7t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xac8c
mov r9d, r14d
lea r8, str._9___7_t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x16d0
mov r9d, r14d
lea r8, str.__3____t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xfb4
mov r9d, r14d
lea r8, str.__5_.92t9__
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x10b8
mov r9d, r14d
lea r8, str.__5_.92t_76
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x11bc
mov r9d, r14d
lea r8, str.__5_.__t__
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x12c0
mov r9d, r14d
lea r8, str.__5_._t_3
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x794
mov r9d, r14d
lea r8, str._694.2_t___
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x15cc
mov r9d, r14d
lea r8, str.___6.7_lnt_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x33c0
mov r9d, r14d
lea r8, str.7_9__9iht___
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x99c
mov r9d, r14d
lea r8, str.___6._lnt_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xba4
mov r9d, r14d
lea r8, str.___37_t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xeb0
mov r9d, r14d
lea r8, str.83__37_t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x36cc
mov r9d, r14d
lea r8, str.__5_9._6ht_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0x37d0
mov r9d, r14d
lea r8, str.4.__26t___
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xa87c
mov r9d, r14d
lea r8, str.97_5___t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
lea r8, [rdx + 0x81b0]
add rdx, 0xa980
mov r9d, r14d
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xab88
mov r9d, r14d
lea r8, str.__43_t_66
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xad90
mov r9d, r14d
lea r8, str.____t_8
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xae94
mov r9d, r14d
lea r8, str.1_2t_8
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rdx, qword [rax + 0xb0]
add rdx, 0xaf98
mov r9d, r14d
lea r8, str.____354_t_8
mov rcx, rdi
call fcn.140028580
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xccb8
call fcn.140046400
test eax, eax
je 0x140028d31
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xccb8
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140028d31
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xccb8
xor edx, edx
call fcn.140047940
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xcbb4
call fcn.140046400
test eax, eax
je 0x140028d8a
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xcbb4
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140028d8a
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0xcbb4
xor edx, edx
call fcn.140047940
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x1cc
call fcn.140046400
test eax, eax
je 0x140028ddf
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x1cc
xor edx, edx
call fcn.140047940
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x1cc
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x8d98
call fcn.140046400
test eax, eax
je 0x140028e34
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x8d98
xor edx, edx
call fcn.140047940
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x8d98
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, esi
mov dword [rsp + 0x20], ebx
lea r13, str.7_1____t59_
movsxd rax, ebx
shl rax, 5
lea rcx, [rax + r13]
cmp byte [rcx], 0
je 0x140028fe9
lea rdx, [rsp + 0x190]
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140028e60
lea rcx, [rsp + 0x190]
mov qword [rsp + 0x28], rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
test al, al
je 0x140028e95
xor al, 0x5a
mov byte [rcx], al
inc rcx
mov qword [rsp + 0x28], rcx
jmp 0x140028e80
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x2414
lea rdx, [rsp + 0x80]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x140028ec0
lea rcx, [rsp + 0x80]
call fcn.140045f40
lea rcx, [rsp + 0x80]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140028ef0
lea r8, [rsp + 0x190]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140028f10
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x140028f4e
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.14004aa40
lea rcx, [rsp + 0x80]
call fcn.140045f40
lea rcx, [rsp + 0x80]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140028f80
lea r8, [rsp + 0x190]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140028fa0
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x140028fde
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
inc ebx
mov dword [rsp + 0x20], ebx
jmp 0x140028e41
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x2eac
lea rdx, [rsp + 0x80]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x140029010
mov edx, 0x2e
lea rcx, [rsp + 0x80]
call fcn.140064f8c
mov rbx, rax
test rax, rax
je 0x140029163
mov ecx, dword [str..hlp]
mov dword [rax], ecx
movzx ecx, byte [0x1400b94a8]
mov byte [rax + 4], cl
test r14d, r14d
jne 0x140029088
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x140029088
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140029088
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
mov eax, dword [str..cnt]
mov dword [rbx], eax
movzx eax, byte [0x1400b94b0]
mov byte [rbx + 4], al
test r14d, r14d
jne 0x1400290d1
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x1400290d1
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400290d1
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
mov eax, dword [str..chm]
mov dword [rbx], eax
movzx eax, byte [0x1400b94b8]
mov byte [rbx + 4], al
test r14d, r14d
jne 0x14002911a
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x14002911a
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14002911a
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
mov eax, dword [str..gid]
mov dword [rbx], eax
movzx eax, byte [0x1400b94c0]
mov byte [rbx + 4], al
test r14d, r14d
jne 0x140029163
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x140029163
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140029163
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
lea rbx, str.mskernel32hlp.dll
mov qword [rsp + 0x30], rbx
nop
cmp qword [rbx], 0
je 0x140029211
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.14004aa40
lea rcx, [rsp + 0x80]
call fcn.140045f40
lea rcx, [rsp + 0x80]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400291a4
mov r8, qword [rbx]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400291c0
test r14d, r14d
jne 0x140029203
lea rcx, [rsp + 0x80]
call fcn.140046400
test eax, eax
je 0x140029203
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140029170
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, str.Spector
call fcn.1400475c0
mov rax, qword [rdi + 0x2598]
mov rcx, qword [rax + 0xb0]
add rcx, 0x89c8
cmp byte [rcx], 0
je 0x140029247
xor edx, edx
call fcn.140046240
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.14004aa40
lea rcx, [rsp + 0x80]
call fcn.140045f40
lea rcx, [rsp + 0x80]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140029271
mov eax, dword [str.msocxu]
mov dword [rcx], eax
movzx eax, word [0x1400b94cc]
mov word [rcx + 4], ax
movzx eax, byte [0x1400b94ce]
mov byte [rcx + 6], al
lea rax, [rsp + 0x80]
dec rax
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1400292a2
movsd xmm0, qword [str.sys.dll]
movsd qword [rax], xmm0
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140047940
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r9d, r14d
lea r8, str._343834
mov rcx, rdi
call fcn.140028580
nop
jmp 0x1400292f9
cmp r15, 0x10
jb 0x14002934e
lea rax, [r15 + 1]
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x140029349
test r12b, 0x1f
je 0x14002931c
call fcn.14006ef04
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002932b
call fcn.14006ef04
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002933a
call fcn.14006ef04
int3
cmp rcx, 0x27
jbe 0x140029346
call fcn.14006ef04
int3
mov rcx, rax
call fcn.1400369b0
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x1400293b9
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x1400293b4
test cl, 0x1f
je 0x140029387
call fcn.14006ef04
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140029396
call fcn.14006ef04
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400293a5
call fcn.14006ef04
int3
cmp rcx, 0x27
jbe 0x1400293b1
call fcn.14006ef04
int3
mov rcx, rax
call fcn.1400369b0
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret