Function at 0x423214
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
mov eax, 0x4ca354
push ebx
push esi
push edi
mov ebx, 0x4c5085
mov esi, dword [ebp + 8]
call fcn.0049fef4
mov word [ebp - 0x38], 8
xor edx, edx
lea eax, [ebx + 0xf91]
mov dword [ebp - 4], edx
lea edx, [ebp - 0x164]
inc dword [ebp - 0x2c]
mov word [ebp - 0x38], 0x14
mov ecx, dword [esi + 0x3dc]
push ecx
push eax
push edx
call fcn.004a3230
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x150]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebx + 0xf94]
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.0049fb64
add esp, 8
lea ecx, [ebp - 0x164]
push ecx
lea eax, [ebp - 0x150]
push eax
call fcn.0049fb64
add esp, 8
lea edx, [ebx + 0xfa0]
push edx
lea ecx, [ebp - 0x150]
push ecx
call fcn.0049fb64
add esp, 8
lea eax, [ebx + 0xfa5]
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.0049fb64
mov word [ebp - 0x38], 0x20
add esp, 8
lea edx, [ebp - 0x150]
lea eax, [ebp - 8]
call fcn.004adb50
mov edx, eax
inc dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004adc7c
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004adc4c
mov dl, 1
mov eax, dword [0x488ef0]
call fcn.00405e40
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xc]
mov word [ebp - 0x38], 0x2c
mov word [ebp - 0x38], 0x38
lea edx, [ebx + 0xfab]
call fcn.004adb50
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x38], 0x44
lea edx, [ebx + 0xfad]
lea eax, [ebp - 0x10]
call fcn.004adb50
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x38], 0x50
lea edx, [ebx + 0xfaf]
lea eax, [ebp - 0x14]
call fcn.004adb50
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x38], 0x5c
lea edx, [ebx + 0xfb1]
lea eax, [ebp - 0x18]
call fcn.004adb50
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x38], 0x68
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
call fcn.004adbc4
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004adc4c
push 0x80
cmp dword [ebp - 4], 0
je 0x423414
mov ecx, dword [ebp - 4]
jmp 0x42341a
lea ecx, [ebx + 0xfb3]
push ecx
call sub.KERNEL32.DLL_SetFileAttributesA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov word [ebp - 0x38], 0x14
jmp 0x42343e
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x423466
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x38], 0x80
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x74
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004adc4c
mov ecx, dword [ebp - 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret