Function at 0x41a6a0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
sub rsp, 0x2f0
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x300], rcx
mov byte [rbp + 0x308], dl
mov byte [rbp + 0x310], r8b
lea rcx, [rbp + 0x7c]
mov rdx, qword [0x00418d10]
call fcn.0040b7e0
nop
mov dword [rbp + 0x60], 0
cmp qword [rbp + 0x300], 0
je 0x41a73a
mov rax, qword [rbp + 0x300]
mov eax, dword [rax - 4]
mov dword [rbp + 0x60], eax
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x300]
mov r8d, dword [rbp + 0x60]
mov r9d, 1
call fcn.0040aac0
mov rcx, qword [rbp + 0x50]
lea rdx, [0x0041aa50]
call fcn.0040aa50
test eax, eax
je 0x41a781
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x300]
lea r8, [0x0041aa50]
call fcn.0040a6a0
jmp 0x41a791
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x300]
call fcn.0040a0d0
mov dword [rbp + 0x64], 0
cmp byte [rbp + 0x308], 0
je 0x41a7b3
lea rcx, [rbp + 0x68]
lea rdx, [0x0041aa60]
call fcn.0040a0d0
jmp 0x41a7c3
lea rcx, [rbp + 0x68]
lea rdx, [0x0041aa70]
call fcn.0040a0d0
cmp byte [rbp + 0x310], 0
je 0x41a7ec
lea rcx, [rbp + 0x68]
lea rdx, [0x0041aa84]
call fcn.0040a0d0
cmp byte [rbp + 0x308], 0
je 0x41a7ec
mov byte [rbp + 0x310], 0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x68]
call fcn.0040a6a0
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.0040af30
mov rcx, qword [rbp + 0x40]
call fcn.0040ae00
mov rcx, rax
mov edx, 0x3f
lea r8, [rbp + 0x7c]
call fcn.004198a0
test eax, eax
jne 0x41a925
nop
add dword [rbp + 0x64], 1
mov eax, dword [rbp + 0x88]
and eax, 0x10
cmp eax, 0x10
jne 0x41a8ca
mov rcx, qword [rbp + 0x8c]
lea rdx, [0x0041aa98]
call fcn.0040b430
test eax, eax
je 0x41a901
mov rcx, qword [rbp + 0x8c]
lea rdx, [0x0041aaa8]
call fcn.0040b430
test eax, eax
je 0x41a901
cmp byte [rbp + 0x310], 0
jne 0x41a901
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x70]
call fcn.0040af30
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x8c]
call fcn.0040b150
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.0040ac80
mov rcx, qword [rbp + 0x30]
movzx rdx, byte [rbp + 0x308]
movzx r8, byte [rbp + 0x310]
call fcn.0041a6a0
jmp 0x41a901
cmp byte [rbp + 0x310], 0
jne 0x41a901
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
call fcn.0040af30
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x8c]
call fcn.0040b150
mov rcx, qword [rbp + 0x28]
call fcn.0040ae00
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
lea rcx, [rbp + 0x7c]
call fcn.00419850
test eax, eax
jne 0x41a91b
cmp dword [rbp + 0x64], 0x30d40
jle 0x41a82d
nop
lea rcx, [rbp + 0x7c]
call fcn.00419720
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x78], eax
cmp byte [rbp + 0x310], 0
jne 0x41a95c
cmp byte [rbp + 0x308], 0
je 0x41a95b
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
call fcn.0040af30
mov rcx, qword [rbp + 0x20]
call fcn.0040ae00
mov rcx, rax
call sub.kernel32.dll_RemoveDirectoryW
nop
lea rcx, [rbp + 0x20]
mov edx, 2
call fcn.00409ad0
lea rcx, [rbp + 0x30]
call fcn.00409a40
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.00409ad0
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.00409b20
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.00409b20
lea rcx, [rbp + 0x7c]
mov rdx, qword [0x00418d10]
call fcn.0040bbc0
mov eax, dword [rbp + 0x78]
lea rsp, [rbp + 0x2f0]
pop rbp
ret