Function at 0x4bc690
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4bc698
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4bcb55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cfe54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4bc6c4
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xa
jle 0x4bc80c
xor eax, eax
push ebp
push 0x4bc709
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x398]
mov edx, dword [0x4cfe54]
call fcn.004b5d70
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.00409e88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc713
mov edx, dword [ebp - 8]
mov eax, dword [0x4cfe28]
call fcn.004059e4
test eax, eax
jle 0x4bc7e2
lea eax, [ebp - 0x2c]
mov ecx, dword [0x4cfe00]
mov edx, dword [0x4cfe28]
call fcn.00405720
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00476130
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.004761a8
xor eax, eax
push ebp
push 0x4bc7d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4bc7c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4269a0]
call fcn.00426a70
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00426b10
push 0x4bcb6c
push dword [ebp - 0xc]
push 0x4bcb80
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040579c
mov edx, dword [ebp - 0x30]
mov cl, 1
mov eax, dword [ebp - 0x10]
call fcn.00426b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc7ce
mov eax, dword [ebp - 0x10]
call fcn.00404508
ret
mov edx, dword [ebp - 8]
mov eax, dword [0x4cfe28]
call fcn.004059e4
test eax, eax
jle 0x4bc80c
mov eax, 0x4bcb8c
call fcn.00447224
mov eax, dword [0x4cfdf0]
call fcn.0046fb3c
jmp 0x4bcb25
push 0x4bcbac
lea edx, [ebp - 0x3c]
mov eax, dword [0x4c9568]
mov eax, dword [eax]
call fcn.004740a8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x28]
call fcn.00476130
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
call fcn.004761a8
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 5
call fcn.0043d554
push dword [ebp - 0x34]
push 0x4bcb80
mov eax, 0x4cfe14
mov edx, 3
call fcn.0040579c
mov eax, dword [0x4cfe14]
call fcn.0040aa4c
test al, al
jne 0x4bc875
mov eax, dword [0x4cfe14]
call fcn.0040aa70
mov edx, 6
mov eax, dword [0x4cfe14]
call fcn.0040ac24
lea eax, [ebp - 0x44]
mov ecx, 0x4bcbd0
mov edx, dword [0x4cfe14]
call fcn.00405720
mov eax, dword [ebp - 0x44]
call fcn.00405898
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.00405600
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x48]
mov eax, dword [0x4c9568]
mov eax, dword [eax]
call fcn.004740a8
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x4bcbd0
mov edx, dword [0x4cfe14]
call fcn.00405720
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.004bc4b4
test al, al
jne 0x4bc911
mov eax, 0x4bcbe0
call fcn.00447224
mov eax, dword [0x4c9568]
mov eax, dword [eax]
call fcn.00473a40
jmp 0x4bcb25
lea eax, [ebp - 4]
mov edx, dword [0x4cfe14]
call fcn.004054a0
lea eax, [ebp - 0x50]
mov ecx, 0x4bcbd0
mov edx, dword [0x4cfe14]
call fcn.00405720
mov edx, dword [ebp - 0x50]
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x37c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 4]
call fcn.00485b40
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x37c]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], 1
mov eax, dword [0x4cfe0c]
mov edx, 0x4bcbf8
call fcn.00405830
jne 0x4bc98f
mov eax, 0x4cfe98
mov edx, 0x4bcc04
call fcn.0040545c
push 0x4bcc18
push dword [0x4cfe98]
push 0x4bcc24
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040579c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
call fcn.00476130
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x54]
call fcn.004761a8
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x37c]
add eax, 0x44
call fcn.0040545c
xor eax, eax
push ebp
push 0x4bca00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x37c]
call fcn.00486430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bca2a
lea eax, [ebp - 0x5c]
mov ecx, dword [0x4cfe60]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x5c]
mov edx, 6
call fcn.0040ac24
push 1
lea eax, [ebp - 0x64]
mov ecx, dword [0x4cfe60]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040ae7c
mov eax, dword [ebp - 0x60]
call fcn.00405898
push eax
push 0
lea eax, [ebp - 0x68]
mov ecx, dword [0x4cfe60]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x68]
call fcn.00405898
push eax
push 0x4bcc40
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x70]
mov ecx, 0x4bcbd0
mov edx, dword [0x4cfe14]
call fcn.00405720
mov eax, dword [ebp - 0x70]
call fcn.00405898
mov edx, eax
lea eax, [ebp - 0x6c]
call fcn.00405600
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x4cfdf0]
mov eax, dword [eax + 0x378]
mov dl, 1
call fcn.00441268
mov eax, dword [0x4cfe3c]
mov edx, 0x4bcc50
call fcn.00405830
jne 0x4bcb25
xor eax, eax
push ebp
push 0x4bcb1b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00447f78
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bcb25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcb5c
lea eax, [ebp - 0x70]
mov edx, 0x12
call fcn.0040542c
lea eax, [ebp - 0x18]
call fcn.00405408
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040542c
ret