Function at 0x4fdd84
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x4fdd8c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe12d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
add eax, 0x23c
call fcn.004051e8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
je 0x4fddca
mov byte [ebp - 5], 1
jmp 0x4fe0fa
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x180]
lea eax, [ebp - 0x14]
mov ecx, 0x4fe148
call fcn.004054f8
mov edx, 0x4fe158
mov eax, dword [ebp - 4]
call fcn.00511784
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
jne 0x4fdecf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28c], 1
jne 0x4fde18
lea eax, [ebp - 0xc]
mov ecx, 0x4fe170
mov edx, dword [ebp - 0x14]
call fcn.004054f8
jmp 0x4fde2e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x184]
lea eax, [ebp - 0xc]
mov ecx, 0x4fe148
call fcn.004054f8
mov eax, dword [ebp - 0xc]
call fcn.0040a2f0
call fcn.00402fc8
lea eax, [ebp - 0x184]
mov ecx, 0x4fe184
mov edx, dword [ebp - 0xc]
call fcn.004054f8
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
call fcn.0040369c
mov edx, 1
lea eax, [ebp - 0x180]
call fcn.00403c54
call fcn.00402fc8
test eax, eax
je 0x4fdea0
mov edx, 0x4fe198
mov eax, dword [ebp - 4]
call fcn.00511784
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x4fe198
call fcn.0040523c
mov byte [ebp - 5], 1
jmp 0x4fe0fa
lea eax, [ebp - 0x180]
call fcn.00403838
lea eax, [ebp - 0x188]
mov ecx, 0x4fe184
mov edx, dword [ebp - 0xc]
call fcn.004054f8
mov eax, dword [ebp - 0x188]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x18]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28c], 1
jne 0x4fdf2d
call fcn.0040beec
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, 0x4fe1d0
call fcn.0040caec
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x18]
call fcn.00409cec
push dword [ebp - 0x18c]
push 0x4fe1f0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040556c
jmp 0x4fdf80
push dword [ebp - 0xc]
push 0x4fe200
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0x18]
call fcn.00409cec
push dword [ebp - 0x190]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x194]
call fcn.00409dd8
push dword [ebp - 0x194]
push 0x4fe214
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
push 0x4fe1f0
lea eax, [ebp - 0x10]
mov edx, 7
call fcn.0040556c
mov eax, dword [ebp - 0x10]
call fcn.0040a2a8
test al, al
jne 0x4fded4
xor eax, eax
push ebp
push 0x4fe0de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x14]
call fcn.0040a2f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004b4058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, 0x3f
mov edx, 0x4fe220
call fcn.004b5ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b60e4
mov dl, 1
mov eax, dword [0x417e54]
call fcn.00404298
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b3e68
dec eax
test eax, eax
jl 0x4fe04f
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0x19c]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 0x14]
call fcn.004054f8
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4fe00c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004b3c5c
mov edx, 0x4fe230
mov eax, dword [ebp - 4]
call fcn.00511784
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4fe0b8
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x31], al
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4fe07f
mov eax, dword [ebp - 0x1c]
call fcn.004042c8
mov eax, dword [ebp - 4]
add eax, 0x23c
mov edx, dword [ebp - 0x10]
call fcn.0040523c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fe0fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe134
lea eax, [ebp - 0x1a0]
mov edx, 8
call fcn.0040520c
lea eax, [ebp - 0x2c]
call fcn.004051e8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040520c
ret