Function at 0x4d8780
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8818
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 1
mov eax, dword [0x56f654]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0042fe40
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0
call fcn.0045e870
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx edx, al
test edx, edx
jne 0x4d8a62
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0x5481cc
push 0x5481d0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_12634]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0043f300
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x64]
call sub.mfc120u.dll_Ordinal_321
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 0xc]
call fcn.004300a0
mov ecx, eax
call fcn.00408960
mov byte [ebp - 4], 7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.0049b550
push eax
lea ecx, [ebp - 0x24]
call fcn.00408620
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4d89f6
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4d89f6
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.0049b550
push eax
lea ecx, [ebp - 0x24]
call fcn.00408620
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x20]
mov byte [ecx], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0043f200
movzx edx, al
test edx, edx
je 0x4d8975
push 0x80
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x9021
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x7c]
call sub.mfc120u.dll_Ordinal_968
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x7c]
call sub.mfc120u.dll_Ordinal_14482
lea ecx, [ebp - 0x7c]
call sub.mfc120u.dll_Ordinal_2857
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call sub.mfc120u.dll_Ordinal_266
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x5481d4
call fcn.00408500
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
call fcn.004300a0
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.004547d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call sub.mfc120u.dll_Ordinal_1444
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.004085e0
jmp 0x4d8a2c
mov dword [ebp - 4], 5
jmp 0x4d8a3c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00475450
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x12], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004085a0
mov al, byte [ebp - 0x12]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8