Function at 0x4ef624
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4ef62c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ef9e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x574]
cmp byte [esi + 0x57], 0
je 0x4ef68a
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.004595d8
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040a40c
cmp dword [ebp - 0x34], 0
jne 0x4ef68a
mov eax, 0x4efa00
call fcn.0044a960
mov eax, dword [ebx + 0x574]
mov edx, dword [eax]
call dword [edx + 0xd4]
jmp 0x4ef963
mov dx, 0xfff5
mov eax, dword [0x503e48]
call fcn.00459814
mov ecx, dword [ebx + 0x418]
mov dl, 1
mov eax, dword [0x480bec]
call fcn.00486830
mov esi, eax
mov edx, dword [ebx + 0x418]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, 0xa5
mov eax, esi
call fcn.00458cc0
mov edx, 5
mov eax, esi
call fcn.00458c8c
xor edx, edx
mov eax, esi
call fcn.00486bdc
mov eax, dword [ebx + 0x668]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
mov eax, 0x64
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, esi
call fcn.00486c28
mov eax, dword [ebx + 0x418]
mov edx, dword [eax]
call dword [edx + 0x8c]
lea edx, [ebp - 0x3c]
mov eax, 0x4efa1c
call fcn.004b1bfc
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
call fcn.004170a0
mov eax, dword [ebx + 0x57c]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x4ef7a6
lea ecx, [ebp - 0x40]
mov edx, 0x4efa34
mov eax, dword [ebx + 0x63c]
call fcn.0040ad98
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x63c]
call fcn.00405584
mov eax, dword [ebx + 0x63c]
call fcn.0040abd8
test al, al
je 0x4ef773
mov eax, dword [ebx + 0x63c]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x80
push 0x4efa44
lea eax, [ebx + 0x63c]
push eax
push 0x4efa68
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00412838
add esp, 0x18
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.00417188
jmp 0x4ef815
lea ecx, [ebp - 0x54]
mov edx, 0x4efa88
mov eax, dword [ebx + 0x63c]
call fcn.0040ad98
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x63c]
call fcn.00405584
mov eax, dword [ebx + 0x63c]
call fcn.0040abd8
test al, al
je 0x4ef7e7
mov eax, dword [ebx + 0x63c]
call fcn.004059c0
push eax
call sub.kernel32.dll_DeleteFileA
push 0x40
push 0x4efa44
lea eax, [ebx + 0x63c]
push eax
push 0x4efa68
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00412838
add esp, 0x18
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x28]
call fcn.00417188
push 0x4efa90
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.00412838
add esp, 0xc
mov eax, dword [ebx + 0x4b8]
call fcn.004c2afc
push 0x4efaa4
push dword [ebx + 0x63c]
push 0x4efadc
push 0x4efb04
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.004058c4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.00405ef8
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x4b8]
call fcn.004d8a74
mov eax, dword [ebx + 0x4b8]
call fcn.004c2af4
mov eax, dword [ebx + 0x668]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ef950
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x668]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 4]
call fcn.0040a40c
mov eax, dword [ebx + 0x584]
call fcn.004c2afc
push 0x4efaa4
push dword [ebp - 4]
push 0x4efadc
push 0x4efb04
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 edx, dword [ebp - 4]
mov eax, ebx
call fcn.004efbf8
mov eax, esi
call fcn.00486c64
mov eax, dword [0x4fe950]
mov eax, dword [eax]
call fcn.004774b4
cmp byte [ebx + 0x62c], 0
je 0x4ef944
mov edx, 0x4efb2c
mov eax, dword [ebx + 0x4b0]
call fcn.00459608
jmp 0x4ef963
inc dword [ebp - 0x2c]
dec dword [ebp - 0x30]
jne 0x4ef898
xor edx, edx
mov eax, dword [0x503e48]
call fcn.00459814
mov eax, esi
call fcn.00404530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef9f0
lea eax, [ebp - 0x78]
call fcn.00405530
lea eax, [ebp - 0x74]
call fcn.00405d38
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00405554
lea eax, [ebp - 0x68]
call fcn.00405d38
lea eax, [ebp - 0x64]
call fcn.00412830
lea eax, [ebp - 0x54]
call fcn.00405530
lea eax, [ebp - 0x50]
call fcn.00412830
lea eax, [ebp - 0x40]
call fcn.00405530
lea eax, [ebp - 0x3c]
call fcn.00407560
lea eax, [ebp - 0x38]
call fcn.00405530
lea eax, [ebp - 0x34]
call fcn.00405530
lea eax, [ebp - 0x28]
mov edx, dword [0x401154]
mov ecx, 2
call fcn.004062dc
lea eax, [ebp - 4]
call fcn.00405530
ret