Function at 0x4e6010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x4e6018
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e649b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00405408
mov byte [ebp - 0x15], 0
xor edx, edx
mov eax, 2
call fcn.004942ac
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x13d], 0x128
lea edx, [ebp - 0x13d]
mov eax, dword [ebp - 0x14]
call fcn.004942cc
test eax, eax
je 0x4e640f
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00409c60
mov eax, dword [ebp - 0x144]
mov edx, 0x4e64b4
call fcn.00405830
jne 0x4e60ac
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
call fcn.00405408
lea eax, [ebp - 0xc]
call fcn.00405408
mov eax, dword [0x4f73ec]
mov eax, dword [eax]
mov edx, 0x4e64cc
call fcn.00405830
jne 0x4e61ef
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00409ce8
mov edx, dword [ebp - 0x14c]
mov eax, 0x4e64d8
call fcn.004059e4
test eax, eax
jg 0x4e61d5
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00409ce8
mov edx, dword [ebp - 0x154]
mov eax, 0x4e64e4
call fcn.004059e4
test eax, eax
jg 0x4e61d5
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00409ce8
mov edx, dword [ebp - 0x15c]
mov eax, 0x4e64f0
call fcn.004059e4
test eax, eax
jg 0x4e61d5
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00409ce8
mov edx, dword [ebp - 0x164]
mov eax, 0x4e6500
call fcn.004059e4
test eax, eax
jg 0x4e61d5
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x135]
call fcn.004e6770
lea eax, [ebp - 0xc]
mov edx, 0x4e650c
call fcn.004054a0
lea eax, [ebp - 0xc]
mov edx, 0x4e65a0
call fcn.004056d4
lea eax, [ebp - 4]
call fcn.00405408
mov eax, dword [0x4f739c]
mov eax, dword [eax]
mov edx, 0x4e64cc
call fcn.00405830
jne 0x4e6224
lea eax, [ebp - 4]
mov edx, 0x4e6610
call fcn.004054a0
lea eax, [ebp - 4]
mov edx, 0x4e66fc
call fcn.004056d4
mov eax, dword [0x4f7760]
cmp dword [eax], 0
je 0x4e624a
push dword [ebp - 4]
push 0x4e676c
mov eax, dword [0x4f7760]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040579c
lea edx, [ebp - 0x174]
mov eax, dword [0x4f7878]
mov eax, dword [eax]
call fcn.004752f8
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.0040b134
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.00409ce8
mov eax, dword [ebp - 0x16c]
push eax
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.00409ce8
mov edx, dword [ebp - 0x178]
pop eax
call fcn.00405830
je 0x4e63f9
cmp dword [ebp - 4], 0
je 0x4e63f9
lea edx, [ebp - 0x180]
mov eax, dword [0x4f79a8]
mov eax, dword [eax]
call fcn.00409ce8
mov eax, dword [ebp - 0x180]
push eax
lea eax, [ebp - 0x188]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.00409ce8
mov edx, dword [ebp - 0x184]
pop eax
call fcn.00405830
je 0x4e63f9
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov edx, dword [ebp - 0x190]
lea ecx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
call fcn.004e6848
cmp dword [ebp - 0x18c], 0
je 0x4e6390
xor eax, eax
push ebp
push 0x4e6386
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x194]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x194]
call fcn.004e6a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e6390
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004e6848
cmp dword [ebp - 0x198], 0
je 0x4e63f9
cmp dword [ebp - 0xc], 0
je 0x4e63f9
cmp dword [ebp - 8], 0
je 0x4e63f9
xor eax, eax
push ebp
push 0x4e63ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19c]
lea edx, [ebp - 0x119]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x19c]
call fcn.004e6a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e63f9
lea edx, [ebp - 0x13d]
mov eax, dword [ebp - 0x14]
call fcn.004942ec
test eax, eax
jne 0x4e606f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0x15], 0
jne 0x4e6468
mov ecx, dword [0x4f79a8]
mov ecx, dword [ecx]
mov edx, dword [0x4f78f4]
mov edx, dword [edx]
lea eax, [ebp - 0x1a0]
call fcn.00405720
mov ebx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ebx
mov eax, dword [ebp - 0x1a4]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x4f7878]
mov eax, dword [eax]
call fcn.00474c90
mov eax, dword [ebp - 0x10]
call fcn.00405408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e64a2
lea eax, [ebp - 0x1a0]
mov edx, 0x18
call fcn.0040542c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040542c
ret