Function at 0x49af6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x49af74
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
lea eax, [ebp - 0x168]
mov edx, dword [0x407938]
call fcn.00405450
xor eax, eax
push ebp
push 0x49b419
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409190
test al, al
je 0x49b3dd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
mov ecx, 0x49b430
mov edx, dword [ebp - 4]
call fcn.00404bc0
lea ecx, [ebp - 0x168]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.00409238
test eax, eax
jne 0x49b3d2
mov eax, dword [ebp - 0x154]
mov edx, 0x49b440
call fcn.00404cd0
je 0x49b3bf
mov eax, dword [ebp - 0x154]
mov edx, 0x49b44c
call fcn.00404cd0
je 0x49b3bf
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x49b105
xor eax, eax
push ebp
push 0x49b0b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x16c]
call fcn.0049af6c
pop ecx
push 0x49b464
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
push 0x49b474
lea eax, [ebp - 0x170]
mov edx, 5
call fcn.00404c3c
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x270]
call fcn.004165d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b3bf
xor eax, eax
push ebp
push 0x49b18e
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x178]
call fcn.00404d38
push eax
call sub.kernel32.dll_DeleteFileA
push 0x49b464
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
push 0x49b474
lea eax, [ebp - 0x17c]
mov edx, 5
call fcn.00404c3c
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x270]
call fcn.004165d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b3bf
mov eax, dword [ebp - 0x154]
mov edx, 0x49b440
call fcn.00404cd0
je 0x49b3bf
mov eax, dword [ebp - 0x154]
mov edx, 0x49b44c
call fcn.00404cd0
je 0x49b3bf
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x49b2f0
xor eax, eax
push ebp
push 0x49b2a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
lea eax, [ebp - 0x184]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x184]
call fcn.0049af6c
pop ecx
push 0x49b464
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
push 0x49b474
lea eax, [ebp - 0x188]
mov edx, 5
call fcn.00404c3c
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x270]
call fcn.004165d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b3bf
xor eax, eax
push ebp
push 0x49b376
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
lea eax, [ebp - 0x190]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x190]
call fcn.00404d38
push eax
call sub.kernel32.dll_DeleteFileA
push 0x49b464
push dword [ebp - 4]
push 0x49b458
push dword [ebp - 0x154]
push 0x49b474
lea eax, [ebp - 0x194]
mov edx, 5
call fcn.00404c3c
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x270]
call fcn.004165d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b3bf
lea eax, [ebp - 0x168]
call fcn.00409288
test eax, eax
je 0x49b1dc
lea eax, [ebp - 0x168]
call fcn.004092ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b420
lea eax, [ebp - 0x198]
mov edx, 0xc
call fcn.004048cc
lea eax, [ebp - 0x168]
mov edx, dword [0x407938]
call fcn.00405520
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048cc
ret