Function at 0x4bc294
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x7a
add esp, 0xfffff004
push eax
dec eax
jne 0x4bc29d
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.00405588
xor eax, eax
push ebp
push 0x4bc5e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c7800]
mov edx, 0x4bc5fc
call fcn.00405530
jne 0x4bc311
mov eax, 0x4bc62c
call fcn.004376cc
jmp 0x4bc5ab
mov eax, 0x4c7800
call fcn.004055f8
mov esi, dword [eax]
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x15c]
call fcn.00403680
mov eax, dword [0x4c8048]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x15c]
call fcn.00403b28
call fcn.00403058
mov edx, esi
lea eax, [ebp - 0x15c]
call fcn.00403b50
call fcn.00403058
push 0
lea edx, [ebp - 0x10]
mov ecx, 4
lea eax, [ebp - 0x15c]
call fcn.004037dc
call fcn.00403058
push 0
lea edx, [ebp - 0xc]
mov ecx, 4
lea eax, [ebp - 0x15c]
call fcn.004037dc
call fcn.00403058
lea edx, [esi + 0xc]
lea eax, [ebp - 0x15c]
call fcn.00403b50
call fcn.00403058
push 0
lea edx, [ebp - 0x7a448]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x15c]
call fcn.004037dc
call fcn.00403058
push 0
lea edx, [ebp - 0x7a3c8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x15c]
call fcn.004037dc
call fcn.00403058
lea eax, [ebp - 0x15c]
call fcn.0040381c
call fcn.00403058
lea eax, [ebp - 0x7a44c]
call fcn.004bc23c
lea eax, [ebp - 0x7a44c]
mov edx, 0x4bc66c
call fcn.004053d4
mov edx, dword [ebp - 0x7a44c]
lea eax, [ebp - 0x2a8]
call fcn.00403680
mov edx, 1
lea eax, [ebp - 0x2a8]
call fcn.00403b44
call fcn.00403058
push 0
lea edx, [ebp - 0x7a3c8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x2a8]
call fcn.004037fc
call fcn.00403058
lea eax, [ebp - 0x2a8]
call fcn.0040381c
call fcn.00403058
lea eax, [ebp - 0x7a450]
call fcn.004bc23c
lea eax, [ebp - 0x7a450]
mov edx, 0x4bc66c
call fcn.004053d4
mov edx, dword [ebp - 0x7a450]
mov eax, dword [ebx + 0x3ac]
mov eax, dword [eax + 0x198]
call fcn.0042a088
lea eax, [ebp - 0x7a454]
call fcn.004bc23c
lea eax, [ebp - 0x7a454]
mov edx, 0x4bc684
call fcn.004053d4
mov esi, dword [ebp - 0x7a454]
mov dword [ebp - 0x7a458], esi
mov eax, dword [ebp - 0x7a458]
call fcn.00405598
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.00405378
push 0x4bc698
push dword [ebp - 8]
push 0x4bc6b4
lea eax, [ebp - 0x7a45c]
mov edx, 3
call fcn.0040549c
mov edx, dword [ebp - 0x7a45c]
mov eax, dword [ebx + 0x3b4]
call fcn.00445c30
mov eax, dword [ebx + 0x3b4]
mov edx, dword [eax + 0x40]
add edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x374]
call fcn.00445280
jmp 0x4bc584
mov esi, dword [ebp - 8]
test esi, esi
je 0x4bc529
sub esi, 4
mov esi, dword [esi]
mov edx, esi
dec edx
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00405640
push 0x4bc698
push dword [ebp - 8]
push 0x4bc6c0
lea eax, [ebp - 0x7a460]
mov edx, 3
call fcn.0040549c
mov edx, dword [ebp - 0x7a460]
mov eax, dword [ebx + 0x3b4]
call fcn.00445c30
mov eax, dword [ebx + 0x3b4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebx + 0x3b4]
add edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x374]
call fcn.00445280
mov edi, dword [ebx + 0x3b4]
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 [0x4d0adc]
cmp eax, dword [edx + 0x48]
jg 0x4bc51d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc5ed
lea eax, [ebp - 0x7a460]
mov edx, 2
call fcn.0040512c
lea eax, [ebp - 0x7a454]
mov edx, 3
call fcn.0040512c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040512c
ret