Function at 0x4c80b8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x7a
add esp, 0xfffff004
push eax
dec eax
jne 0x4c80c1
mov eax, dword [ebp - 4]
add esp, 0xfffffba4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7a460], ecx
mov dword [ebp - 0x7a45c], ecx
mov dword [ebp - 0x7a454], ecx
mov dword [ebp - 0x7a450], ecx
mov dword [ebp - 0x7a44c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405600
xor eax, eax
push ebp
push 0x4c8409
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x15c]
call fcn.004036ac
mov eax, dword [0x4d4020]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x15c]
call fcn.00403ba0
call fcn.00403058
lea eax, [ebp - 0x15c]
call fcn.004039b0
call fcn.00403058
mov edx, eax
sub edx, 0xc
lea eax, [ebp - 0x15c]
call fcn.00403bc8
call fcn.00403058
push 0
lea edx, [ebp - 0x10]
mov ecx, 4
lea eax, [ebp - 0x15c]
call fcn.00403808
call fcn.00403058
push 0
lea edx, [ebp - 0xc]
mov ecx, 4
lea eax, [ebp - 0x15c]
call fcn.00403808
call fcn.00403058
lea eax, [ebp - 0x15c]
call fcn.004039b0
call fcn.00403058
mov edx, eax
sub edx, 0xc
sub edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
lea eax, [ebp - 0x15c]
call fcn.00403bc8
call fcn.00403058
push 0
lea edx, [ebp - 0x7a448]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x15c]
call fcn.00403808
call fcn.00403058
push 0
lea edx, [ebp - 0x7a3c8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x15c]
call fcn.00403808
call fcn.00403058
lea eax, [ebp - 0x15c]
call fcn.00403848
call fcn.00403058
lea eax, [ebp - 0x7a44c]
call fcn.004c8090
lea eax, [ebp - 0x7a44c]
mov edx, 0x4c8420
call fcn.0040544c
mov edx, dword [ebp - 0x7a44c]
lea eax, [ebp - 0x2a8]
call fcn.004036ac
mov edx, 1
lea eax, [ebp - 0x2a8]
call fcn.00403bbc
call fcn.00403058
push 0
lea edx, [ebp - 0x7a3c8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x2a8]
call fcn.00403828
call fcn.00403058
lea eax, [ebp - 0x2a8]
call fcn.00403848
call fcn.00403058
lea eax, [ebp - 0x7a450]
call fcn.004c8090
lea eax, [ebp - 0x7a450]
mov edx, 0x4c8420
call fcn.0040544c
mov edx, dword [ebp - 0x7a450]
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x198]
call fcn.0042c33c
lea eax, [ebp - 0x7a454]
call fcn.004c8090
lea eax, [ebp - 0x7a454]
mov edx, 0x4c8438
call fcn.0040544c
mov esi, dword [ebp - 0x7a454]
mov dword [ebp - 0x7a458], esi
mov eax, dword [ebp - 0x7a458]
call fcn.00405610
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea eax, [ebp - 8]
lea edx, [ebp - 0x7a448]
mov ecx, 0x80
call fcn.004053f0
push 0x4c844c
push dword [ebp - 8]
push 0x4c8468
lea eax, [ebp - 0x7a45c]
mov edx, 3
call fcn.00405514
mov edx, dword [ebp - 0x7a45c]
mov eax, dword [ebx + 0x3bc]
call fcn.00448b8c
mov eax, dword [ebx + 0x3bc]
mov edx, dword [eax + 0x40]
add edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x374]
call fcn.004481dc
jmp 0x4c83a7
mov esi, dword [ebp - 8]
test esi, esi
je 0x4c834c
sub esi, 4
mov esi, dword [esi]
mov edx, esi
dec edx
lea eax, [ebp - 8]
mov ecx, 1
call fcn.004056b8
push 0x4c844c
push dword [ebp - 8]
push 0x4c8474
lea eax, [ebp - 0x7a460]
mov edx, 3
call fcn.00405514
mov edx, dword [ebp - 0x7a460]
mov eax, dword [ebx + 0x3bc]
call fcn.00448b8c
mov eax, dword [ebx + 0x3bc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebx + 0x3bc]
add edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x374]
call fcn.004481dc
mov edi, dword [ebx + 0x3bc]
mov eax, dword [edi + 0x40]
add eax, dword [edi + 0x48]
mov edx, dword [ebx + 0x374]
add eax, dword [edx + 0x48]
add eax, 8
mov edx, dword [0x4ddc10]
cmp eax, dword [edx + 0x48]
jg 0x4c8340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8410
lea eax, [ebp - 0x7a460]
mov edx, 2
call fcn.004051a4
lea eax, [ebp - 0x7a454]
mov edx, 3
call fcn.004051a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051a4
ret