Function at 0x40a6e0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43af00
push eax
mov dword fs:[0], esp
sub esp, 0x14
push 0x43
call fcn.004026a0
mov ecx, eax
call fcn.0041b150
test eax, eax
je 0x40a96d
push 0x45
call fcn.004026a0
mov ecx, eax
call fcn.0041b150
test eax, eax
je 0x40a96d
push ebx
push ebp
push esi
push edi
push 0x12c
push str..BarClientTask.cpp
call fcn.00402180
mov ecx, eax
call fcn.00406c80
push str.ClearSwapPartition.
push 4
call fcn.00411820
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0041d520
mov dword [esp + 0x1c], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [eax + 8], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
call fcn.00402740
mov ecx, eax
call fcn.00415a90
test eax, eax
je 0x40a7d2
push str.D:HISTORY
lea ecx, [esp + 0x14]
call fcn.00405af0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0040a080
mov dword [eax], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a7d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.00402740
mov ecx, eax
call fcn.00415ab0
test eax, eax
je 0x40a828
push str.D:IETEMP
lea ecx, [esp + 0x14]
call fcn.00405af0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.0040a080
mov dword [eax], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a828
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x43dd48
lea ecx, [esp + 0x14]
call fcn.00405af0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x34], 3
call fcn.00407a00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x2c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 6
push str.D:ProtectedC.Img
call ebp
push 6
push str.D:ProtectedE.Img
call ebp
push 6
push str.D:_swap.sys
call ebp
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 4
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x14]
push str.D:ProtectedC_d.Img
push eax
mov byte [esp + 0x38], 5
call fcn.004053d0
push esi
lea ecx, [esp + 0x24]
push str.D:ProtectedE_d.Img
push ecx
call fcn.004053d0
mov ebx, dword [esp + 0x28]
add esp, 0x18
push 6
push ebx
call ebp
mov edi, dword [esp + 0x14]
push 6
push edi
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x2c], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a934
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
inc esi
cmp esi, 0xa
jl 0x40a891
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.00409710
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00431cf8
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret