Function at 0x54daec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x54daf4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405d78
mov edi, dword [0x5a316c]
xor eax, eax
push ebp
push 0x54e118
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x5a3004]
movzx eax, word [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5a2f34]
movzx eax, word [eax]
test eax, eax
jle 0x54e0ac
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
mov eax, dword [0x5a27d0]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [0x5a2e38]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.00586c80
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x440]
call fcn.004e2b80
cmp dword [ebp - 0x20], 0
je 0x54ddd6
mov edx, 0x54e128
lea eax, [ebp - 0x58]
call fcn.00403884
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0x37
call fcn.00403854
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x94]
call fcn.00403884
mov edx, 0x54e138
lea eax, [ebp - 0x94]
mov cl, 0x38
call fcn.00403854
lea edx, [ebp - 0x94]
lea eax, [ebp - 8]
call fcn.00405b28
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e144
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x40c]
call fcn.004e2b80
mov eax, dword [ebp - 0x98]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54dbfe
lea eax, [ebp - 0x9c]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0x9c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
mov eax, dword [esi + 0x414]
cmp dword [eax + 0x260], 0
jne 0x54dd2f
push 0x54e184
mov eax, dword [esi + 0x420]
call fcn.004d9330
lea edx, [ebp - 0xa0]
call fcn.0040a848
push dword [ebp - 0xa0]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405c48
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x418]
call fcn.004e2b80
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54dcb8
lea eax, [ebp - 0xa8]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xa8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
jmp 0x54ddd6
push 0x54e1a4
mov eax, dword [esi + 0x420]
call fcn.004d9330
lea edx, [ebp - 0xac]
call fcn.0040a848
push dword [ebp - 0xac]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405c48
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x41c]
call fcn.004e2b80
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54dd64
lea eax, [ebp - 0xb4]
mov ecx, 0x54e1c4
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e1d4
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x42c]
call fcn.004e2b80
mov eax, dword [ebp - 0xb8]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54dde5
lea eax, [ebp - 0xbc]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e1f4
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x440]
call fcn.004e2b80
mov eax, dword [ebp - 0xc0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54de66
lea eax, [ebp - 0xc4]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e214
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc8]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x44c]
call fcn.004e2b80
mov eax, dword [ebp - 0xc8]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54dee7
lea eax, [ebp - 0xcc]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xcc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e214
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xd0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x45c]
call fcn.004e2b80
mov eax, dword [ebp - 0xd0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54df68
lea eax, [ebp - 0xd4]
mov ecx, 0x54e1c4
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xd4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
push 0x54e234
lea edx, [ebp - 0xdc]
mov eax, dword [esi + 0x454]
call fcn.0045a1c0
push dword [ebp - 0xdc]
push 0x54e25c
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00405c48
mov edx, dword [ebp - 0xd8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
lea eax, [ebp - 8]
mov edx, 0x54e26c
call fcn.0040594c
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xe0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x4d0]
call fcn.004e2b80
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00512e7c
push dword [ebp - 8]
push 0x54e15c
push dword [ebp - 0xc]
push 0x54e168
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405c48
inc ebx
cmp ebx, 8
jne 0x54e02a
lea eax, [ebp - 0xe4]
mov ecx, 0x54e174
mov edx, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 0xe4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00539334
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x18]
jne 0x54db5b
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [0x5a2e38]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.00586c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e11f
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.004058d8
lea eax, [ebp - 0xdc]
call fcn.004058b4
lea eax, [ebp - 0xd8]
mov edx, 0x11
call fcn.004058d8
lea eax, [ebp - 0x20]
call fcn.004058b4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058d8
ret