Function at 0x401860
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00404c76
mov edi, dword [0x4071c4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 4], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
mov edi, edi
push eax
inc eax
inc eax
sub eax, 2
pop eax
nop
nop
nop
push ecx
xor ecx, ecx
mov ecx, 0x72998a4e
mov ecx, 0x4914a490
mov ecx, 0xce82cc3e
mov ecx, 0x506adf8b
pop ecx
nop
nop
push edx
xor edx, edx
mov edx, 0x274b4b0b
mov edx, 0xc812658
mov edx, 0xad016503
mov edx, 0x8d637d50
pop edx
nop
nop
nop
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
mov ecx, 0xcea1eb59
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
xor ebx, ebx
mov ebx, 0x3f41239a
pop ebx
nop
nop
nop
push edx
inc edx
inc edx
inc edx
inc edx
sub edx, 4
pop edx
nop
nop
nop
push eax
xor eax, eax
mov eax, 0xf355438a
sub eax, 5
inc eax
inc eax
inc eax
inc eax
inc eax
pop eax
nop
nop
nop
push ecx
inc ecx
inc ecx
sub ecx, 0xfffffffe
pop ecx
nop
nop
nop
nop
mov edi, edi
mov esi, esi
nop
nop
nop
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00402fd0
add esp, 4
nop
nop
nop
mov edi, edi
push eax
inc eax
inc eax
sub eax, 2
pop eax
nop
nop
nop
push ecx
xor ecx, ecx
mov ecx, 0x72998a4e
mov ecx, 0x4914a490
mov ecx, 0xce82cc3e
mov ecx, 0x506adf8b
pop ecx
nop
nop
push edx
xor edx, edx
mov edx, 0x274b4b0b
mov edx, 0xc812658
mov edx, 0xad016503
mov edx, 0x8d637d50
pop edx
nop
nop
nop
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
mov ecx, 0xcea1eb59
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
xor ebx, ebx
mov ebx, 0x3f41239a
pop ebx
nop
nop
nop
push edx
inc edx
inc edx
inc edx
inc edx
sub edx, 4
pop edx
nop
nop
nop
push eax
xor eax, eax
mov eax, 0xf355438a
sub eax, 5
inc eax
inc eax
inc eax
inc eax
inc eax
pop eax
nop
nop
nop
push ecx
inc ecx
inc ecx
sub ecx, 0xfffffffe
pop ecx
nop
nop
nop
nop
mov edi, edi
mov esi, esi
nop
nop
nop
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x10]
push edx
push 0x407020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
nop
nop
nop
mov edi, edi
push eax
inc eax
inc eax
sub eax, 2
pop eax
nop
nop
nop
push ecx
xor ecx, ecx
mov ecx, 0x72998a4e
mov ecx, 0x4914a490
mov ecx, 0xce82cc3e
mov ecx, 0x506adf8b
pop ecx
nop
nop
push edx
xor edx, edx
mov edx, 0x274b4b0b
mov edx, 0xc812658
mov edx, 0xad016503
mov edx, 0x8d637d50
pop edx
nop
nop
nop
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
mov ecx, 0xcea1eb59
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
xor ebx, ebx
mov ebx, 0x3f41239a
pop ebx
nop
nop
nop
push edx
inc edx
inc edx
inc edx
inc edx
sub edx, 4
pop edx
nop
nop
nop
push eax
xor eax, eax
mov eax, 0xf355438a
sub eax, 5
inc eax
inc eax
inc eax
inc eax
inc eax
pop eax
nop
nop
nop
push ecx
inc ecx
inc ecx
sub ecx, 0xfffffffe
pop ecx
nop
nop
nop
nop
mov edi, edi
mov esi, esi
nop
nop
nop
push 0x87
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40703c
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 0
call fcn.004012c0
add esp, 0xc
nop
nop
nop
mov edi, edi
push eax
inc eax
inc eax
sub eax, 2
pop eax
nop
nop
nop
push ecx
xor ecx, ecx
mov ecx, 0x72998a4e
mov ecx, 0x4914a490
mov ecx, 0xce82cc3e
mov ecx, 0x506adf8b
pop ecx
nop
nop
push edx
xor edx, edx
mov edx, 0x274b4b0b
mov edx, 0xc812658
mov edx, 0xad016503
mov edx, 0x8d637d50
pop edx
nop
nop
nop
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
mov ecx, 0xcea1eb59
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
xor ebx, ebx
mov ebx, 0x3f41239a
pop ebx
nop
nop
nop
push edx
inc edx
inc edx
inc edx
inc edx
sub edx, 4
pop edx
nop
nop
nop
push eax
xor eax, eax
mov eax, 0xf355438a
sub eax, 5
inc eax
inc eax
inc eax
inc eax
inc eax
pop eax
nop
nop
nop
push ecx
inc ecx
inc ecx
sub ecx, 0xfffffffe
pop ecx
nop
nop
nop
nop
mov edi, edi
mov esi, esi
nop
nop
nop
mov eax, dword [ebp - 0x10]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
nop
nop
mov edi, edi
push eax
inc eax
inc eax
sub eax, 2
pop eax
nop
nop
nop
push ecx
xor ecx, ecx
mov ecx, 0x72998a4e
mov ecx, 0x4914a490
mov ecx, 0xce82cc3e
mov ecx, 0x506adf8b
pop ecx
nop
nop
push edx
xor edx, edx
mov edx, 0x274b4b0b
mov edx, 0xc812658
mov edx, 0xad016503
mov edx, 0x8d637d50
pop edx
nop
nop
nop
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
mov ecx, 0xcea1eb59
pop ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
xor ebx, ebx
mov ebx, 0x3f41239a
pop ebx
nop
nop
nop
push edx
inc edx
inc edx
inc edx
inc edx
sub edx, 4
pop edx
nop
nop
nop
push eax
xor eax, eax
mov eax, 0xf355438a
sub eax, 5
inc eax
inc eax
inc eax
inc eax
inc eax
pop eax
nop
nop
nop
push ecx
inc ecx
inc ecx
sub ecx, 0xfffffffe
pop ecx
nop
nop
nop
nop
mov edi, edi
mov esi, esi
nop
nop
nop
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret