Function at 0x58e62c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x58e634
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x58ec01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, 0x58ec20
call fcn.00577ef0
mov byte [ebp - 0x15], 1
mov dl, 1
mov eax, dword [0x588cdc]
call fcn.00588ea8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x4a4], eax
xor eax, eax
push ebp
push 0x58ebc1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x58ea4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a518c]
mov eax, dword [eax]
mov dx, 0xffed
call fcn.004f7798
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x454]
lea eax, [ebp - 4]
mov ecx, 0x58ec68
call fcn.0040725c
mov ecx, 0x58ec8c
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x454]
call fcn.004148e4
test al, al
jne 0x58e750
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x24]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x24]
push eax
push 0x58ecdc
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x58ed20
push 0x58ed50
push 0x58ed68
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x28]
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
call fcn.00405b28
jmp 0x58ebcb
mov eax, dword [ebp - 4]
call fcn.0041489c
test al, al
jne 0x58e7c9
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x2c]
push eax
push 0x58ede8
push dword [ebp - 4]
push 0x58ed20
push 0x58ed50
push 0x58ed68
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x30]
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
call fcn.00405b28
jmp 0x58ebcb
xor ecx, ecx
mov edx, 0x58ee28
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
push 0x58ee7c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00414f8c
push dword [ebp - 0x38]
push 0x58eea0
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407340
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call fcn.0056a014
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, 0x58eeb4
call fcn.00584a48
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20c], 0
jne 0x58e856
cmp dword [eax + 0x208], 0
jbe 0x58e921
jmp 0x58e85c
jle 0x58e921
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x480]
push eax
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push dword [eax + 0x20c]
push dword [eax + 0x208]
mov edx, dword [0x56ac20]
lea eax, [ebp - 0x10]
call fcn.004089ac
push eax
push 0
push 0
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x450]
call fcn.00406fa4
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x468]
call fcn.00406fa4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4a4]
pop ecx
call fcn.00589050
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00406ddc
jmp 0x58e907
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
push dword [edx + eax*4]
push 0x58eedc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407340
add dword [ebp - 0x20], 1
adc dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
call fcn.004087e0
inc eax
cdq
cmp edx, dword [ebp - 0x1c]
jne 0x58e91d
cmp eax, dword [ebp - 0x20]
ja 0x58e8e1
jmp 0x58e92e
jg 0x58e8e1
jmp 0x58e92e
lea eax, [ebp - 0xc]
mov edx, 0x58eef0
call fcn.00406ddc
push 0
push 1
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0057b2d0
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00414a88
mov eax, dword [0x5abc8c]
cmp byte [eax + 0x43f], 0
jne 0x58e969
mov eax, dword [0x5abc8c]
call fcn.004f5850
push 0x58ef08
lea edx, [ebp - 0x4c]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004fad74
push dword [ebp - 0x4c]
push 0x58ef08
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00407340
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00579364
test al, al
jne 0x58ea1a
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x50]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x50]
push eax
push 0x58ef18
push dword [ebp - 4]
push 0x58ef08
push 0x58ef74
push 0x58ed50
push 0x58ed68
lea eax, [ebp - 0x54]
mov edx, 6
call fcn.00407340
mov edx, dword [ebp - 0x54]
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
call fcn.00405b28
jmp 0x58ebcb
xor ecx, ecx
mov edx, 0x58efd0
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004fa200
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 0x58eaad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ebcb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4a4]
call fcn.00404f5c
xor eax, eax
push ebp
push 0x58eafa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0041489c
test al, al
je 0x58eaf0
mov eax, dword [ebp - 8]
call fcn.00406e14
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58eb04
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x441], 0
je 0x58ebc0
mov ecx, 0x58f0a0
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x454]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.0057e9a4
test al, al
jne 0x58ebc0
mov eax, dword [0x5a518c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x58f0e0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x58f168
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00407340
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0058f1e8
push 0x30
lea edx, [ebp - 0x60]
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x60]
push eax
push 0x58f0e0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x58f168
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00407340
mov edx, dword [ebp - 0x64]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
pop ecx
call fcn.0057775c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ec08
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.00406d80
lea eax, [ebp - 0x10]
mov edx, dword [0x56ac20]
call fcn.004089ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406d80
ret