Function at 0x591a88
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x7e
push 0
push 0
dec ecx
jne 0x591a91
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 9], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ec4
xor eax, eax
push ebp
push 0x592179
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
jne 0x591d9a
mov eax, dword [ebp - 4]
call fcn.0040b89c
test al, al
je 0x59214e
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d8]
call fcn.00403950
lea eax, [ebp - 0x3a8]
mov ecx, 0x592190
mov edx, dword [ebp - 4]
call fcn.00405d5c
mov edx, dword [ebp - 0x3a8]
lea eax, [ebp - 0x3a4]
call fcn.00403950
lea eax, [ebp - 0x1d8]
call fcn.004036d4
lea eax, [ebp - 0x3a4]
call fcn.004036e0
xor esi, esi
jmp 0x591d37
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
mov eax, dword [ebp - 8]
mov edx, 0x5921a0
call fcn.00405e6c
jne 0x591b60
inc esi
cmp esi, 6
jne 0x591d37
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
mov eax, dword [0x5dbd88]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591cc5
mov esi, 1
lea ecx, [ebp - 0x3ac]
mov edx, esi
dec edx
mov eax, dword [0x5dbd88]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3ac]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea ecx, [ebp - 0x3b8]
mov edx, esi
dec edx
mov eax, dword [0x5dbd88]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3b8]
lea edx, [ebp - 0x3b4]
call fcn.0058ff78
mov eax, dword [ebp - 0x3b4]
lea edx, [ebp - 0x3b0]
call fcn.0058fe30
mov edx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591c32
jmp 0x591cc5
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403f48
lea eax, [ebp - 0x1d8]
call fcn.00403fb4
lea eax, [ebp - 0x1d8]
call fcn.00403c9c
test al, al
je 0x591cac
mov edx, 0x5921ac
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
mov edx, 0x5921c0
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 0x3bc]
mov eax, 0x5921c0
call fcn.0058ff78
mov edx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x3a4]
call fcn.004061f4
call fcn.004043f8
lea eax, [ebp - 0x1d8]
call fcn.00403c9c
test al, al
je 0x591b24
lea eax, [ebp - 0x1d8]
call fcn.00403af8
lea eax, [ebp - 0x3a4]
call fcn.00403af8
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push ebx
lea eax, [ebp - 0x3c0]
mov ecx, 0x592190
mov edx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x3c0]
call fcn.00405ed4
push eax
call sub.kernel32.dll_MoveFileA
jmp 0x59214e
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d8]
call fcn.00403950
lea eax, [ebp - 0x1d8]
call fcn.004036e0
mov eax, dword [0x5dbcd8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591df5
mov esi, 1
lea ecx, [ebp - 0x3c4]
mov edx, esi
dec edx
mov eax, dword [0x5dbcd8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3c4]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591dc8
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
mov eax, dword [0x5dbcd8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591e49
mov esi, 1
lea ecx, [ebp - 0x3c8]
mov edx, esi
dec edx
mov eax, dword [0x5dbcdc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3c8]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591e1c
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
mov eax, dword [0x5dbce8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591e9d
mov esi, 1
lea ecx, [ebp - 0x3cc]
mov edx, esi
dec edx
mov eax, dword [0x5dbce8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3cc]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591e70
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
mov eax, dword [0x5dbcec]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591ef1
mov esi, 1
lea ecx, [ebp - 0x3d0]
mov edx, esi
dec edx
mov eax, dword [0x5dbcec]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591ec4
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
mov eax, dword [0x5dbcf0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591f45
mov esi, 1
lea ecx, [ebp - 0x3d4]
mov edx, esi
dec edx
mov eax, dword [0x5dbcf0]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3d4]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591f18
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
mov eax, dword [0x5dbce4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x591f99
mov esi, 1
lea ecx, [ebp - 0x3d8]
mov edx, esi
dec edx
mov eax, dword [0x5dbce4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3d8]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x591f6c
mov dl, 0x24
lea eax, [ebp - 0x1d8]
call fcn.004043bc
call fcn.004043f8
lea edx, [ebp - 0x3dc]
mov eax, 0x5921d8
call fcn.0058ff78
mov edx, dword [ebp - 0x3dc]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 0x3e0]
mov eax, 0x5921ec
call fcn.0058ff78
mov edx, dword [ebp - 0x3e0]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 0x3e4]
mov eax, 0x592200
call fcn.0058ff78
mov edx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
cmp byte [ebp - 9], 0
jne 0x592045
lea edx, [ebp - 8]
mov eax, dword [0x5dbd28]
call fcn.0058a724
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
jmp 0x592050
lea eax, [ebp - 0x1d8]
call fcn.004043f8
mov eax, dword [0x5dbd88]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x5920dd
mov esi, 1
lea ecx, [ebp - 0x3e8]
mov edx, esi
dec edx
mov eax, dword [0x5dbd88]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3e8]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
lea ecx, [ebp - 0x3f4]
mov edx, esi
dec edx
mov eax, dword [0x5dbd88]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3f4]
lea edx, [ebp - 0x3f0]
call fcn.0058ff78
mov eax, dword [ebp - 0x3f0]
lea edx, [ebp - 0x3ec]
call fcn.0058fe30
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
inc esi
dec ebx
jne 0x592065
mov edx, 0x5921ac
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
mov edx, dword [0x5dbca4]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
mov edx, 0x5921c0
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
lea edx, [ebp - 0x3f8]
mov eax, 0x5921c0
call fcn.0058ff78
mov edx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x1d8]
call fcn.004061f4
call fcn.004043f8
lea eax, [ebp - 0x1d8]
call fcn.00403af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592180
lea eax, [ebp - 0x3f8]
mov edx, 0x15
call fcn.00405a68
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405a68
ret