Function at 0x471845
Capabilities:
Set file attributes

Disassembly:
push 0x1f4
mov eax, 0x4c1618
call fcn.0049f5ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
push str.OverrideDefaultLanguage___start
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
call fcn.00404bd0
lea eax, [ebp - 0xc4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004017f5
or dword [ebp - 4], 0xffffffff
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xc4]
call fcn.004058b3
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x200]
call fcn.0041c01b
mov dword [ebp - 4], esi
push dword [eax]
lea ecx, [ebp - 0x80]
call fcn.00404bd0
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x200], eax
je 0x4718da
push dword [ebp - 0x200]
call fcn.0049f900
pop ecx
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00406441
push str.moduleslocale_
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 4
call fcn.0041011e
push dword [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406441
add esp, 0x24
push ebx
push esi
lea ecx, [ebp - 0xe0]
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.004058b3
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00406441
push str.localeen_US_
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 9
call fcn.0041011e
add esp, 0x18
push ebx
push esi
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xb
call fcn.004058b3
push str.OverrideDefaultLanguage_SOURCE_FOLDER
lea ecx, [ebp - 0xc4]
call fcn.00404bd0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401985
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
call fcn.004058b3
push str.OverrideDefaultLanguage_TARGET_FOLDER
lea ecx, [ebp - 0xc4]
call fcn.00404bd0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401985
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc4]
call fcn.004058b3
push 7
pop edi
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], edi
call fcn.00405ece
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4719f7
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
call fcn.004298f6
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0xa8], al
mov dword [ebp - 0x84], edi
call fcn.00405ece
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x471a28
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004298f6
push str.OverrideDefaultLanguage_is_source_folder_exist:
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0xa4], al
call fcn.00404bd0
push dword [ebp - 0xa8]
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401927
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xf
call fcn.004058b3
push str.OverrideDefaultLanguage_is_target_folder_exist:
lea ecx, [ebp - 0xc4]
call fcn.00404bd0
push dword [ebp - 0xa4]
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401927
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xf
call fcn.004058b3
cmp byte [ebp - 0xa4], bl
je 0x471c2b
cmp byte [ebp - 0xa8], bl
je 0x471c2b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x471ad0
lea eax, [ebp - 0x28]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x471ae8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00404bd0
push 0x4da40c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x12
call fcn.00404bd0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.00429b1c
neg al
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0x9d], al
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.004058b3
lea ecx, [ebp - 0xe0]
cmp byte [ebp - 0x9d], bl
je 0x471bff
push str.OverrideDefaultLanguage_copying_language_files_FAILED
call fcn.00404bd0
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x14
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.004058b3
push str.LAST_ERROR
lea ecx, [ebp - 0xe0]
call fcn.00404bd0
mov byte [ebp - 4], 0x15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004018c5
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xe0]
call fcn.004058b3
xor edi, edi
push ebx
push esi
lea ecx, [ebp - 0x9c]
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004058b3
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.004058b3
mov eax, edi
call fcn.0049f62e
ret
push str.OverrideDefaultLanguage_copying_language_files_OK
call fcn.00404bd0
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x16
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xe0]
call fcn.004058b3
mov edi, esi
jmp 0x471bc2
push str.OverrideDefaultLanguage_source_or_destination_folder_doesnt_exist.
lea ecx, [ebp - 0xe0]
call fcn.00404bd0
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x17
call fcn.004017f5
jmp 0x471bb2