Function at 0x591418
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x591420
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5919ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov edx, 0x591a0c
call fcn.005792e8
mov byte [ebp - 0x15], 1
mov dl, 1
mov eax, dword [0x58b864]
call fcn.0058ba30
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x4a4], eax
xor eax, eax
push ebp
push 0x5919ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x591839
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a818c]
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, 0x591a54
call fcn.0040725c
mov ecx, 0x591a78
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00592068
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x454]
call fcn.004148e4
test al, al
jne 0x59153c
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a818c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x24]
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x24]
push eax
push 0x591ab4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x591b08
push 0x591b30
push 0x591b48
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x28]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
pop ecx
call fcn.00578aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405b28
jmp 0x5919b7
mov eax, dword [ebp - 4]
call fcn.0041489c
test al, al
jne 0x5915b5
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a818c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x2c]
push eax
push 0x591bd0
push dword [ebp - 4]
push 0x591b08
push 0x591b30
push 0x591b48
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00407340
mov edx, dword [ebp - 0x30]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
pop ecx
call fcn.00578aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405b28
jmp 0x5919b7
xor ecx, ecx
mov edx, 0x591c1c
mov eax, dword [ebp - 0x14]
call fcn.00592068
push 0x591c6c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00414f8c
push dword [ebp - 0x38]
push 0x591c90
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.00592068
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call fcn.0056af00
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov edx, 0x591ca4
call fcn.00587020
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20c], 0
jne 0x591642
cmp dword [eax + 0x208], 0
jbe 0x59170d
jmp 0x591648
jle 0x59170d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x480]
push eax
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push dword [eax + 0x20c]
push dword [eax + 0x208]
mov edx, dword [0x56bb38]
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.0058bbd8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00406ddc
jmp 0x5916f3
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
push dword [edx + eax*4]
push 0x591ccc
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 0x591709
cmp eax, dword [ebp - 0x20]
ja 0x5916cd
jmp 0x59171a
jg 0x5916cd
jmp 0x59171a
lea eax, [ebp - 0xc]
mov edx, 0x591ce0
call fcn.00406ddc
push 0
push 1
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0057cb24
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00414a88
mov eax, dword [0x5aec8c]
cmp byte [eax + 0x43f], 0
jne 0x591755
mov eax, dword [0x5aec8c]
call fcn.004f5850
push 0x591cf8
lea edx, [ebp - 0x4c]
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004fad74
push dword [ebp - 0x4c]
push 0x591cf8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00407340
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0057a968
test al, al
jne 0x591806
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a818c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x10
lea edx, [ebp - 0x50]
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x50]
push eax
push 0x591d08
push dword [ebp - 4]
push 0x591cf8
push 0x591d78
push 0x591b30
push 0x591b48
lea eax, [ebp - 0x54]
mov edx, 6
call fcn.00407340
mov edx, dword [ebp - 0x54]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
pop ecx
call fcn.00578aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00405b28
jmp 0x5919b7
xor ecx, ecx
mov edx, 0x591de8
mov eax, dword [ebp - 0x14]
call fcn.00592068
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004fa200
mov eax, dword [0x5a818c]
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 0x591899
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5919b7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4a4]
call fcn.00404f5c
xor eax, eax
push ebp
push 0x5918e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0041489c
test al, al
je 0x5918dc
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 0x5918f0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x441], 0
je 0x5919ac
mov ecx, 0x591ee4
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00592068
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x454]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
call fcn.00580684
test al, al
jne 0x5919ac
mov eax, dword [0x5a818c]
mov eax, dword [eax]
xor edx, edx
call fcn.004f7798
push 0x591f34
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x591fe8
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.00592068
push 0x30
lea edx, [ebp - 0x60]
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004f9c58
mov eax, dword [ebp - 0x60]
push eax
push 0x591f34
mov eax, dword [ebp - 0x14]
push dword [eax + 0x454]
push 0x591fe8
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00407340
mov edx, dword [ebp - 0x64]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
pop ecx
call fcn.00578aa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5919f4
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.00406d80
lea eax, [ebp - 0x10]
mov edx, dword [0x56bb38]
call fcn.004089ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406d80
ret