Function at 0x5955a0
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
lea rcx, [rbp + 0xb0]
call fcn.0040e7a0
nop
mov byte [rbp + 0x9f], 0
nop
lea rcx, [rbp + 0x88]
call fcn.0040e5d0
mov eax, dword [rbp + 0x84]
add eax, dword [rbp + 0x80]
mov dword [rbp + 0x58], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1d58]
call fcn.0040fe40
mov eax, dword [rbp + 0x7c]
add dword [rbp + 0x84], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1cb8]
call fcn.0040fe40
mov eax, dword [rbp + 0x7c]
add dword [rbp + 0x84], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1cf8]
call fcn.0040fe40
mov eax, dword [rbp + 0x80]
add dword [rbp + 0x84], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x84]
imul eax, eax, 0x2e8
mov dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x84]
imul eax, eax, 0x2ec
mov dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x88]
lea rdx, [0x005959f8]
call fcn.0040fe40
mov eax, dword [rbp + 0x84]
imul eax, eax, 0x2f0
mov dword [rbp + 0x58], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1cf8]
call fcn.0040fe40
mov eax, dword [rbp + 0x58]
sub eax, 0x294
mov dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x58]
sub eax, 0x278
mov dword [rbp + 0x60], eax
lea rcx, [rbp + 0x88]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, 0x5a
sub eax, dword [rbp + 0x7c]
cmp eax, 0x109
jge 0x59571c
lea rcx, [rbp + 0x84]
call fcn.0058b430
mov eax, dword [rbp + 0x58]
sub eax, 0x2b8
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x84]
imul eax, eax, 0x321
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0x7c]
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0xb0]
call fcn.0040f580
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [rbp + 0x58]
sub eax, 0x269
mov dword [rbp + 0x60], eax
lea rcx, [rbp + 0x84]
lea rdx, [rbp + 0x7c]
call fcn.005835a0
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0x7c]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0x7c]
mov dword [rbp + 0x84], eax
mov eax, 0x59
sub eax, dword [rbp + 0x78]
cmp eax, 0x103
jge 0x5957bc
lea rcx, [rbp + 0x84]
lea rdx, [rbp + 0x80]
lea r8, [rbp + 0x78]
call fcn.00581e80
mov rcx, qword [rbp + 0xb0]
call fcn.0040f580
mov rcx, rax
mov edx, 0xc0000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov dword [rbp + 0x94], eax
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x98], eax
mov eax, dword [rbp + 0x94]
cmp rax, 0xffffffffffffffff
je 0x595930
cmp dword [rbp + 0x98], 0
jne 0x595930
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0x7c]
mov ecx, dword [rbp + 0x74]
add ecx, dword [rbp + 0x70]
cmp eax, ecx
jge 0x595852
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x74]
lea r9, [rbp + 0x6c]
call fcn.00539c60
mov dword [rbp + 0x7c], 0
mov eax, dword [rbp + 0x68]
add eax, dword [rbp + 0x5c]
cmp eax, dword [rbp + 0x58]
jle 0x595870
mov eax, dword [rbp + 0x60]
imul eax, eax, 0x1dc
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x74]
sub eax, dword [rbp + 0x70]
mov ecx, dword [rbp + 0x6c]
sub ecx, dword [rbp + 0x64]
cmp eax, ecx
jle 0x59588c
mov eax, dword [rbp + 0x70]
add eax, 0xe3
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x70]
mov dword [rbp + 0x78], eax
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x80]
sub eax, dword [rbp + 0x74]
mov dword [rbp + 0x84], eax
add dword [rbp + 0x7c], 1
cmp dword [rbp + 0x7c], 2
jne 0x595859
nop
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0x78]
mov ecx, dword [rbp + 0x74]
add ecx, dword [rbp + 0x70]
cmp eax, ecx
jge 0x5958dc
lea rcx, [rbp + 0x84]
lea rdx, [rbp + 0x7c]
lea r8, [rbp + 0x78]
call fcn.00590a00
mov byte [rbp + 0x9f], 1
mov eax, 0x56
sub eax, dword [rbp + 0x7c]
cmp eax, 0xe8
jge 0x59590f
lea rcx, [rbp + 0x84]
lea rdx, [rbp + 0x80]
lea r8, [rbp + 0x7c]
lea r9, [rbp + 0x74]
call fcn.0057e130
mov eax, 0x57
sub eax, dword [rbp + 0x7c]
cmp eax, 0xec
jge 0x595930
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x84]
call fcn.005766b0
mov eax, 0x190
sub eax, dword [rbp + 0x64]
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x60]
add eax, 0x1f4
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x5c]
add eax, 0x239
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x58]
sub eax, 0x27d
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x84]
sub eax, 0x2a2
mov dword [rbp + 0x5c], eax
mov ecx, dword [rbp + 0x94]
call sub.kernel32.dll_CloseHandle_1
jmp 0x595984
nop
lea rcx, [rbp + 0x88]
call fcn.0040e5d0
lea rcx, [rbp + 0xb0]
call fcn.0040e670
movzx rax, byte [rbp + 0x9f]
lea rsp, [rbp + 0xa0]
pop rbp
ret