Function at 0x4f4190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4f4199
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004059b0
mov eax, dword [ebp - 8]
call fcn.004059b0
xor eax, eax
push ebp
push 0x4f47b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.0040ae64
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0xc]
call fcn.0040a40c
lea edx, [ebp - 0x50]
mov eax, 0x4f47d0
call fcn.004b1bfc
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.004170a0
mov eax, dword [ebp - 0xc]
mov edx, 0x4f47e8
call fcn.00405958
jne 0x4f4254
mov eax, dword [ebp - 8]
call fcn.0040abd8
test al, al
je 0x4f4224
mov eax, dword [ebp - 8]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x80
push 0x4f47f8
lea eax, [ebp - 8]
push eax
push 0x4f481c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00412838
add esp, 0x18
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x38]
call fcn.00417188
jmp 0x4f4299
mov eax, dword [ebp - 8]
call fcn.0040abd8
test al, al
je 0x4f426e
mov eax, dword [ebp - 8]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x40
push 0x4f47f8
lea eax, [ebp - 8]
push eax
push 0x4f481c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00412838
add esp, 0x18
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x38]
call fcn.00417188
push 0x4f4834
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.00412838
add esp, 0xc
mov eax, dword [ebx + 0x584]
call fcn.004c2afc
push 0x4f4848
push dword [ebp - 8]
push 0x4f4880
push 0x4f48a8
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004058c4
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
call fcn.00405ef8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x584]
call fcn.004d8a74
mov eax, dword [ebx + 0x584]
call fcn.004c2af4
mov dl, 1
mov eax, dword [0x41d940]
call fcn.00404500
mov dword [ebp - 0x40], eax
mov dl, 1
mov eax, dword [0x41d940]
call fcn.00404500
mov dword [ebp - 0x44], eax
mov dl, 1
mov eax, dword [0x41d940]
call fcn.00404500
mov dword [ebp - 0x48], eax
xor eax, eax
push ebp
push 0x4f4713
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4b4]
call fcn.004ced00
test al, al
je 0x4f434f
mov eax, dword [ebx + 0x4b4]
call fcn.004ceb74
mov eax, dword [ebx + 0x4b4]
call fcn.004e3ebc
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4f48d0
call fcn.00405848
mov eax, dword [ebx + 0x4b4]
call fcn.004e3ebc
push eax
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x10]
call fcn.00405ef8
mov edx, dword [ebp - 0x7c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x4b4]
call fcn.004e216c
mov eax, dword [ebx + 0x4b4]
call fcn.004ceb60
mov eax, dword [ebx + 0x4b4]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x25c]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004055c8
mov eax, dword [ebx + 0x580]
call fcn.004ced00
test al, al
je 0x4f43db
mov eax, dword [ebx + 0x580]
call fcn.004ceb74
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
mov edx, dword [eax]
call dword [edx + 0x48]
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x44]
mov esi, dword [eax]
call dword [esi + 0xc]
push 0x4f48e8
push dword [ebp - 0x14]
push 0x4f4900
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0xc]
call fcn.0040a40c
push dword [ebp - 0x80]
push 0x4f490c
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.004058c4
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
push eax
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x10]
call fcn.00405ef8
mov edx, dword [ebp - 0x84]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x580]
call fcn.004e3dfc
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jle 0x4f44f6
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov edi, dword [eax]
call dword [edi + 0xc]
push 0x4f4920
push dword [ebp - 0x14]
push 0x4f4938
push dword [ebp - 0xc]
push 0x4f4950
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.004058c4
mov eax, dword [ebx + 0x580]
call fcn.004ceb74
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.00405ef8
mov edx, dword [ebp - 0x88]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x580]
call fcn.004e3dfc
inc dword [ebp - 0x3c]
dec esi
jne 0x4f4470
mov eax, dword [ebx + 0x580]
call fcn.004ced00
test al, al
je 0x4f4510
mov eax, dword [ebx + 0x580]
call fcn.004ceb74
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, 0x4f48d0
call fcn.00405848
mov eax, dword [ebx + 0x580]
call fcn.004e3ebc
push eax
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x10]
call fcn.00405ef8
mov edx, dword [ebp - 0x8c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x580]
call fcn.004e216c
mov eax, dword [ebx + 0x580]
call fcn.004ceb60
mov eax, dword [ebx + 0x4b4]
call fcn.004ced00
test al, al
je 0x4f4586
mov eax, dword [ebx + 0x4b4]
call fcn.004ceb74
mov eax, dword [ebx + 0x4b4]
call fcn.004e3ebc
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4f48d0
call fcn.00405848
mov eax, dword [ebx + 0x4b4]
call fcn.004e3ebc
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x10]
call fcn.00405ef8
mov edx, dword [ebp - 0x90]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x4b4]
call fcn.004e216c
mov eax, dword [ebx + 0x4b4]
call fcn.004ceb60
mov eax, dword [ebx + 0x4b4]
call fcn.004d11c4
jmp 0x4f46da
mov eax, ebx
call fcn.004f8790
test al, al
jne 0x4f4608
mov eax, dword [ebx + 0x4b4]
call fcn.004d1444
mov eax, dword [ebx + 0x580]
call fcn.004d1604
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jle 0x4f46c1
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0xc]
call fcn.00405ef8
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx + 0x580]
call fcn.004cfd8c
test eax, eax
je 0x4f46b7
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0xc]
call fcn.00405ef8
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x4b4]
call fcn.004cfcf0
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0xc]
call fcn.00405ef8
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x580]
call fcn.004cfcf0
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
inc dword [ebp - 0x3c]
dec esi
jne 0x4f462d
mov eax, dword [ebx + 0x580]
mov edx, dword [eax]
call dword [edx + 0x270]
mov eax, dword [ebx + 0x4b4]
call fcn.004d1444
mov eax, dword [ebx + 0x4b4]
cmp byte [eax + 0xa1], 0
je 0x4f45f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f471a
mov eax, dword [ebp - 0x40]
call fcn.00404530
mov eax, dword [ebp - 0x44]
call fcn.00404530
mov eax, dword [ebp - 0x48]
call fcn.00404530
ret