Function at 0x57158c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x571595
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x57183f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
call fcn.00571408
mov ebx, eax
push 0x571858
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0040a390
push dword [ebp - 0x1c]
push 0x571884
lea edx, [ebp - 0x20]
mov eax, edi
call fcn.0040a390
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404fe8
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00514330
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004ce104
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
je 0x571817
push 0x40
push 0x5718ac
push 0x5718b8
mov eax, dword [0x7534c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x12], ax
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00474fdc
xor eax, eax
push ebp
push 0x571810
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5718e4
mov eax, ebx
call fcn.004cf118
test eax, eax
je 0x5717f2
lea edx, [ebp - 0x28]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040aca8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 0x5718f4
call fcn.00404f74
lea eax, [ebp - 0xc]
mov ecx, 0x571904
mov edx, dword [ebp - 4]
call fcn.00404f74
lea edx, [ebp - 0x30]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040ade4
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404f74
mov eax, dword [ebp - 8]
call fcn.0040a868
test al, al
je 0x5716f1
mov eax, dword [ebp - 8]
call fcn.00405120
push eax
call sub.kernel32.dll_DeleteFileA_1
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0040aca8
mov eax, dword [ebp - 0x34]
call fcn.0040a89c
mov edx, 0x5718e4
mov eax, ebx
call fcn.004cf118
mov edx, dword [ebp - 8]
call fcn.004c8d5c
mov dl, 1
mov eax, dword [0x41d654]
call fcn.00403d60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5717cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x571918
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x57192c
push dword [ebp - 8]
push 0x57193c
lea edx, [ebp - 0x3c]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404fe8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [0x7534c4]
mov eax, dword [eax]
call fcn.004776b0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, 0x571948
call fcn.00404f74
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5717d6
mov eax, dword [ebp - 0x10]
call fcn.00403d90
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571817
mov eax, dword [0x753a48]
mov eax, dword [eax]
mov dx, word [ebp - 0x12]
call fcn.00474fdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571846
lea eax, [ebp - 0x44]
mov edx, 0xc
call fcn.00404c84
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c84
ret