Function at 0x558a48
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x44
push 0
push 0
dec ecx
jne 0x558a50
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, 0x56bd24
xor eax, eax
push ebp
push 0x558f6a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00556c14
test al, al
je 0x558a87
mov esi, 1
jmp 0x558f44
lea eax, [ebp - 0x1d4]
push eax
xor ecx, ecx
mov edx, 0x558f84
mov eax, 0x558f9c
call fcn.004c684c
mov eax, dword [ebp - 0x1d4]
mov edx, 0x558fd8
call fcn.00405798
jne 0x558ac0
mov ebx, 1
mov eax, 0x558fe4
call fcn.0046ea88
lea eax, [ebp - 0x1dc]
mov edx, esi
call fcn.00405584
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.0040a0e8
cmp dword [ebp - 0x1d8], 0
je 0x558b0f
lea eax, [ebp - 0x1e4]
mov edx, dword [ebp + 0xc]
call fcn.00405584
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x1e0]
call fcn.0040a0e8
cmp dword [ebp - 0x1e0], 0
jne 0x558b23
dec ebx
jne 0x558b1c
mov eax, 0x559000
call fcn.0046ea88
xor esi, esi
jmp 0x558f44
mov eax, dword [0x564e40]
mov byte [eax], 1
push 0
call sub.ole32.dll_CoInitialize
lea eax, [ebp - 0x1e8]
call fcn.004c6a40
lea eax, [ebp - 0x1e8]
mov edx, 0x559018
call fcn.00405654
mov eax, dword [ebp - 0x1e8]
call fcn.0040584c
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1ec]
call fcn.004c6a40
lea eax, [ebp - 0x1ec]
mov edx, 0x55902c
call fcn.00405654
mov eax, dword [ebp - 0x1ec]
call fcn.0040584c
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1f0]
call fcn.004c6a40
lea eax, [ebp - 0x1f0]
mov edx, 0x559044
call fcn.00405654
mov eax, dword [ebp - 0x1f0]
call fcn.0040584c
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1f4]
call fcn.004c6a40
lea eax, [ebp - 0x1f4]
mov edx, 0x559064
call fcn.00405654
mov eax, dword [ebp - 0x1f4]
call fcn.0040ab14
test al, al
je 0x558c71
lea eax, [ebp - 0x1f8]
call fcn.004c6a40
lea eax, [ebp - 0x1f8]
mov edx, 0x559084
call fcn.00405654
mov eax, dword [ebp - 0x1f8]
call fcn.0040584c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x564b24]
mov eax, dword [eax]
call fcn.0046c304
lea eax, [ebp - 0x1fc]
call fcn.004c6a40
lea eax, [ebp - 0x1fc]
mov edx, 0x559084
call fcn.00405654
mov eax, dword [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x200]
call fcn.004c6a40
lea eax, [ebp - 0x200]
mov edx, 0x559064
call fcn.00405654
mov eax, dword [ebp - 0x200]
pop edx
call fcn.0040ad9c
mov eax, dword [0x564b24]
mov eax, dword [eax]
call fcn.0046c304
lea edx, [ebp - 0x208]
mov eax, dword [0x564b24]
mov eax, dword [eax]
call fcn.0046c9fc
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
call fcn.0040ae48
lea eax, [ebp - 0x204]
mov edx, 0x5590a0
call fcn.00405654
mov eax, dword [ebp - 0x204]
call fcn.0040ab14
test al, al
jne 0x558cf6
lea edx, [ebp - 0x210]
mov eax, dword [0x564b24]
mov eax, dword [eax]
call fcn.0046c9fc
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.0040ae48
lea eax, [ebp - 0x20c]
mov edx, 0x5590a0
call fcn.00405654
mov edx, dword [ebp - 0x20c]
mov eax, 0x5590b0
call fcn.004c712c
call fcn.004c65dc
test al, al
je 0x558d63
push 0x30
lea eax, [ebp - 0x214]
push eax
xor ecx, ecx
mov edx, 1
mov eax, 0x3e8
call fcn.004c5ec4
mov eax, dword [ebp - 0x214]
call fcn.0040584c
push eax
lea eax, [ebp - 0x218]
push eax
xor ecx, ecx
mov edx, 0x20
mov eax, 0x3e8
call fcn.004c5ec4
mov eax, dword [ebp - 0x218]
call fcn.0040584c
push eax
mov eax, dword [0x564b24]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
mov esi, 1
jmp 0x558f44
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0x5590c0
mov eax, 0x558f9c
call fcn.004c684c
mov eax, dword [ebp - 4]
mov edx, 0x558fd8
call fcn.00405798
je 0x558dd6
mov eax, dword [ebp - 4]
mov edx, 0x5590d8
call fcn.00405798
je 0x558dd6
lea eax, [ebp - 0x21c]
call fcn.004c6a40
lea eax, [ebp - 0x21c]
mov edx, 0x559084
call fcn.00405654
mov eax, dword [ebp - 0x21c]
call fcn.0040584c
push eax
call sub.kernel32.dll_DeleteFileA
mov ecx, 0x558fd8
mov edx, 0x5590c0
mov eax, 0x558f9c
call fcn.004c67b4
mov eax, dword [0x564944]
mov byte [eax], 0
lea eax, [ebp - 0x220]
call fcn.004c6a40
lea eax, [ebp - 0x220]
mov edx, 0x559084
call fcn.00405654
mov eax, dword [ebp - 0x220]
call fcn.0040ab14
test al, al
jne 0x558e76
mov eax, dword [0x564944]
mov byte [eax], 1
lea eax, [ebp - 0x224]
call fcn.004c6a40
lea eax, [ebp - 0x224]
mov edx, 0x559084
call fcn.00405654
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x1d0]
call fcn.00403464
lea eax, [ebp - 0x1d0]
call fcn.004031f4
call fcn.00402d3c
mov edx, 0x5590e4
lea eax, [ebp - 0x1d0]
call fcn.00405a68
call fcn.00403520
call fcn.00402d3c
lea eax, [ebp - 0x1d0]
call fcn.004035e0
call fcn.00402d3c
mov ecx, dword [0x564b24]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5503f4]
call fcn.00464b2c
mov dword [edi], eax
mov eax, dword [edi]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x328], edx
cmp dword [0x564494], 0
je 0x558eb4
mov eax, dword [edi]
add eax, 0x310
mov edx, dword [0x564494]
call fcn.004053e0
jmp 0x558ec2
mov eax, dword [edi]
add eax, 0x310
mov edx, esi
call fcn.00405584
cmp dword [0x564498], 0
je 0x558edf
mov eax, dword [edi]
add eax, 0x314
mov edx, dword [0x564498]
call fcn.004053e0
jmp 0x558eee
mov eax, dword [edi]
add eax, 0x314
mov edx, dword [ebp + 0xc]
call fcn.00405584
mov eax, dword [edi]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x324], edx
mov eax, dword [edi]
mov dword [eax + 0x320], ebx
mov eax, dword [edi]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x318], edx
mov eax, dword [edi]
add eax, 0x31c
mov edx, dword [ebp + 0x18]
call fcn.00405584
mov eax, dword [edi]
call fcn.00554efc
mov esi, eax
mov eax, ebx
call fcn.00556e58
mov eax, dword [edi]
mov eax, dword [eax + 0x310]
call fcn.00558484
mov eax, edi
call fcn.0041066c
call sub.ole32.dll_CoUninitialize
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558f71
lea eax, [ebp - 0x224]
mov edx, 0x15
call fcn.004053b0
lea eax, [ebp - 4]
call fcn.0040538c
ret