Function at 0x4475f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
push 0x55
lea ecx, [ebp - 0x1c0]
movzx eax, ax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jle 0x447648
push 0
push 0
push 0x55
push 0x53dde0
push 0xffffffffffffffff
lea eax, [ebp - 0x1c0]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x447665
mov eax, dword [str.en_US]
mov dword [0x53dde0], eax
mov ax, word [0x4dc010]
mov word [0x53dde4], ax
mov byte [0x53dde5], 0
push 0x53dde0
push 0x542d60
push str._s_s_shell32.dll.mui
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00403820
add esp, 0x14
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0x110], 0
jne 0x4476c7
push 2
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
mov dword [ebp - 0x1c4], eax
test edi, edi
je 0x447757
jmp 0x447748
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x110]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
cmp esi, 1
jg 0x4476fe
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
jmp 0x447757
push 2
push esi
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x4476ea
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
push 0xfde9
call ebx
push edi
cmp eax, esi
je 0x447732
call fcn.004998ec
add esp, 4
jmp 0x4476ea
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
mov dword [ebp - 0x1c4], eax
push edi
call fcn.004998ec
mov eax, dword [ebp - 0x1c4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x447918
push 2
push 0x80
call fcn.0049570f
add esp, 8
mov edi, eax
push 0x80
push edi
push 0x101d
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x1c4], eax
call esi
cmp dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], eax
jle 0x4477d0
push 0
push 0
push 0x80
push 0x53f108
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c4], eax
test eax, eax
jne 0x4477d0
call esi
mov dword [ebp - 0x1c8], eax
test edi, edi
je 0x4477dd
push edi
call fcn.004998ec
add esp, 4
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x1c4], 0
jg 0x447847
mov eax, dword [str.Microsoft_Windows]
mov dword [0x53f108], eax
mov eax, dword [0x4e5f58]
mov dword [0x53f10c], eax
mov eax, dword [0x4e5f5c]
mov dword [0x53f110], eax
mov eax, dword [0x4e5f60]
mov dword [0x53f114], eax
mov ax, word [0x4e5f64]
mov word [0x53f118], ax
mov byte [0x53f119], 0
call fcn.00440bb0
push eax
lea eax, [ebp - 0x110]
push eax
push str.Warning:_Could_not_locate_localized_format_prompt_title_string_in__s:__s
call fcn.004407e0
add esp, 0xc
push 2
push 0x80
call fcn.0049570f
add esp, 8
mov edi, eax
push 0x80
push edi
push 0x101e
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x1c4], eax
call esi
cmp dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], eax
jle 0x4478af
push 0
push 0
push 0x80
push 0x53f068
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c4], eax
test eax, eax
jne 0x4478af
call esi
mov esi, eax
jmp 0x4478b5
mov esi, dword [ebp - 0x1c8]
test edi, edi
je 0x4478c2
push edi
call fcn.004998ec
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x1c4], 0
jg 0x447911
mov eax, dword [str.Format_disk]
mov dword [0x53f068], eax
mov eax, dword [0x4e5fb8]
mov dword [0x53f06c], eax
mov eax, dword [0x4e5fbc]
mov dword [0x53f070], eax
mov byte [0x53f073], 0
call fcn.00440bb0
push eax
lea eax, [ebp - 0x110]
push eax
push str.Warning:_Could_not_locate_localized_format_prompt_button_string_in__s:__s
call fcn.004407e0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xc4d
call fcn.0041afe0
add esp, 4
test eax, eax
je 0x447958
push 0xc4d
call fcn.0041afe0
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447940
sub eax, edx
inc eax
cmp eax, 0x80
jb 0x447958
mov eax, 0x80
jmp 0x44798a
push 0xc4d
call fcn.0041afe0
add esp, 4
test eax, eax
je 0x447989
push 0xc4d
call fcn.0041afe0
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447980
sub eax, edx
inc eax
push eax
push 0xc4d
call fcn.0041afe0
add esp, 4
push eax
push 0x53f188
call fcn.00493080
add esp, 0xc
push 0xc4d
call fcn.0041afe0
add esp, 4
test eax, eax
je 0x4479f0
push 0xc4d
call fcn.0041afe0
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4479c7
sub eax, edx
inc eax
cmp eax, 0x80
jb 0x4479f0
mov eax, 0x53f207
mov byte [eax], cl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push 0xc4d
call fcn.0041afe0
add esp, 4
test eax, eax
je 0x447a1a
push 0xc4d
call fcn.0041afe0
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447a11
sub eax, edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 0x53f188], 0
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret