Function at 0x4574da
Capabilities:
Delete file

Disassembly:
push 0x74
mov eax, 0x46914b
call fcn.0045f3fe
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x5e], bl
je 0x45759a
push dword [0x47dbe4]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004191b1
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x24]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00419205
mov byte [ebp - 4], 1
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004191b1
mov byte [ebp - 4], 2
push dword [0x47dc20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004191b1
add esp, 0x30
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x457551
mov eax, dword [eax + 4]
jmp 0x457554
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov byte [ebp - 4], 2
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004610c9
mov byte [ebp - 4], 1
push ebx
push edi
lea ecx, [ebp - 0x80]
call fcn.004610c9
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004610c9
mov byte [esi + 0x5e], bl
jmp 0x45759d
xor edi, edi
inc edi
cmp byte [esi + 0x5d], bl
je 0x457605
push dword [0x47dbe4]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004191b1
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x4575dc
mov eax, dword [eax + 4]
jmp 0x4575df
add eax, 4
push eax
call dword [0x47e0d8]
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.004610c9
mov byte [esi + 0x5d], bl
cmp byte [esi + 0x5f], bl
je 0x45766f
push dword [0x47dbe4]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004191b1
mov dword [ebp - 4], 6
push dword [0x47dc1c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004191b1
add esp, 0x18
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x457646
mov eax, dword [eax + 4]
jmp 0x457649
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.004610c9
mov byte [esi + 0x5f], bl
cmp byte [esi + 0x5c], bl
je 0x45768c
cmp dword [esi + 0x20], 8
jb 0x45767f
mov eax, dword [esi + 0xc]
jmp 0x457682
lea eax, [esi + 0xc]
push eax
call dword [0x47e0d8]
mov byte [esi + 0x5c], bl
cmp dword [esi + 0x54], ebx
jbe 0x45770b
lea edi, [esi + 0x40]
cmp dword [edi + 0x18], 8
jb 0x45769f
mov eax, dword [edi + 4]
jmp 0x4576a2
lea eax, [edi + 4]
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x45770b
push dword [0x47dc20]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004191b1
add esp, 0xc
push 8
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
jae 0x4576d3
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [edi + 0x18], 8
jb 0x4576e5
mov eax, dword [edi + 4]
jmp 0x4576e8
lea eax, [edi + 4]
push eax
call dword [0x47e0d8]
push dword [0x47dbf4]
mov ecx, edi
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004610c9
push dword [0x47dbf4]
lea ecx, [esi + 8]
call fcn.004610c9
call fcn.00456922
call fcn.0045f490
ret