Function at 0x4da150
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa476
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x572734]
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 [0x572654]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00431770
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.00463740
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 0x4da432
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 0x54af0c
push 0x54af10
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.00444030
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.004d5340
mov ecx, eax
call fcn.00409550
mov byte [ebp - 4], 7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.0049cc90
push eax
lea ecx, [ebp - 0x24]
call fcn.00409210
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4da3c6
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 0x4da3c6
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.0049cc90
push eax
lea ecx, [ebp - 0x24]
call fcn.00409210
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.00443f30
movzx edx, al
test edx, edx
je 0x4da345
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 0x54af14
call fcn.004090b0
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.004d5340
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00459300
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.00409190
jmp 0x4da3fc
mov dword [ebp - 4], 5
jmp 0x4da40c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004345e0
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.00409150
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