Function at 0x58cb30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x58cb39
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58d754
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x478], 0
mov dword [eax + 0x47c], 0
xor edx, edx
push ebp
push 0x58d67b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, 0x58d774
call fcn.00577ef0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004f7798
test bl, bl
jne 0x58cbe6
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x450]
call fcn.00406fa4
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x58d7bc
call fcn.0040725c
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004fa200
mov eax, dword [ebp - 4]
cmp byte [eax + 0x443], 0
je 0x58d60e
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, 0x58d7e0
call fcn.00577ef0
test bl, bl
je 0x58cc7c
push 0x58d820
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x468]
call fcn.00406fa4
push dword [ebp - 0x44]
push 0x58d88c
push 0x58d8a0
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push dword [eax + 0x20c]
push dword [eax + 0x208]
lea eax, [ebp - 0x48]
call fcn.004140d0
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x40]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.00577ef0
jmp 0x58d645
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, 0x58d8e4
call fcn.00577ef0
mov ecx, 0x58d94c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x470], 0
setne byte [ebp - 0x31]
lea ecx, [ebp - 0x4c]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
call fcn.0057a254
push dword [ebp - 0x4c]
push 0x58d994
push 0x58d9a4
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x450]
call fcn.00406fa4
push dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x454
mov edx, 4
call fcn.00407340
cmp byte [ebp - 0x31], 0
je 0x58cd87
lea edx, [ebp - 0x18]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call fcn.005699c0
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x454]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.0057a254
push dword [ebp - 0x54]
push 0x58d994
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x46c]
call fcn.00406fa4
push dword [ebp - 0x58]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407340
lea ecx, [ebp - 0x5c]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.0057a254
push dword [ebp - 0x5c]
push 0x58d994
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x46c]
call fcn.00406fa4
push dword [ebp - 0x60]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407340
mov eax, dword [ebp - 4]
push dword [eax + 0x454]
push 0x58d994
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x458]
call fcn.00406fa4
push dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00407340
mov ecx, 0x58d9c0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
xor eax, eax
push ebp
push 0x58ce04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x454]
call fcn.004148e4
test al, al
je 0x58cdfa
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x454]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.0057e9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58ce0e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x454]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.0057c6fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x454]
call fcn.004148e4
test al, al
jne 0x58ced4
mov byte [ebp - 0x21], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x58da18
mov eax, dword [ebp - 4]
push dword [eax + 0x454]
push 0x58d88c
push 0x58da60
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00407340
mov edx, dword [ebp - 0x68]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
push 0x10
lea edx, [ebp - 0x6c]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x6c]
push eax
push 0x58da18
mov eax, dword [ebp - 4]
push dword [eax + 0x454]
push 0x58dae0
push 0x58da60
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00407340
mov edx, dword [ebp - 0x70]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
pop ecx
call fcn.0057775c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58d729
mov ecx, 0x58daf8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
mov eax, dword [ebp - 8]
call fcn.0041489c
test al, al
je 0x58cfaa
mov eax, dword [ebp - 8]
call fcn.00406e14
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 8]
call fcn.0041489c
test al, al
je 0x58cfaa
mov byte [ebp - 0x21], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x58db50
push dword [ebp - 8]
push 0x58db78
push 0x58d88c
push 0x58da60
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x74]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
push 0x10
lea edx, [ebp - 0x78]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x78]
push eax
push 0x58db50
push dword [ebp - 8]
push 0x58db78
push 0x58dae0
push 0x58da60
lea eax, [ebp - 0x7c]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
pop ecx
call fcn.0057775c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58d729
mov ecx, 0x58dbf0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0058f1e8
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004fa200
push 0xff00
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42ea78]
call fcn.0043a9fc
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0x58d072
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x58d040
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x45c]
test eax, eax
je 0x58d016
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x45c]
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58d04f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d079
mov eax, dword [ebp - 0x28]
call fcn.00404f5c
mov eax, dword [ebp - 4]
add eax, 0x45c
call fcn.004061fc
ret
mov byte [ebp - 0x21], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
mov eax, dword [ebp - 4]
call fcn.0058c72c
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov cl, 1
xor edx, edx
call fcn.005773f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58d729
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004fa200
xor ecx, ecx
mov edx, 0x58e294
mov eax, dword [ebp - 4]
call fcn.0058f1e8
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58d729
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d75b
lea eax, [ebp - 0xc4]
mov edx, 0x24
call fcn.00406d80
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00406d80
ret