Function at 0x448b90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44faf6
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x274], 0
push 4
call fcn.0040569e
add esp, 4
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c4], 0
je 0x448bfe
mov ecx, dword [ebp - 0x3c4]
call fcn.0044c6d0
mov dword [ebp - 0x3dc], eax
jmp 0x448c08
mov dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ebp - 0x3c0]
mov dword [ecx + 0xa4], edx
mov dword [ebp - 0x264], str.InitInstance
mov dword [ebp - 0x3bc], 0
push 0x118
push 0
lea eax, [ebp - 0x3b8]
push eax
call fcn.00414d80
add esp, 0xc
mov dword [ebp - 0x29c], 0
xor ecx, ecx
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x3bc], 0x11c
lea edx, [ebp - 0x3bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x29c]
push eax
call fcn.0044cff0
add esp, 4
movzx ecx, word [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x3bc]
push edx
call fcn.0044ca70
add esp, 8
xor eax, eax
mov word [ebp - 0x228], ax
xor ecx, ecx
mov word [ebp - 0x268], cx
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x224]
call fcn.00401210
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x228], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [ebp - 0x268], ax
movzx edx, word [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x220]
push eax
movzx ecx, word [ebp - 0x228]
push ecx
push 0x45bf30
lea edx, [ebp - 0x224]
push edx
call fcn.00402020
add esp, 0x14
lea ecx, [ebp - 0x224]
call fcn.00401270
push eax
push str.SystemLocale
call fcn.0044c810
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x228], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 0x268], ax
movzx eax, word [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
movzx edx, word [ebp - 0x228]
push edx
push str.DefLang_04x_DefLCID_08x_DefUILang_04x
lea eax, [ebp - 0x224]
push eax
call fcn.00402020
add esp, 0x14
lea ecx, [ebp - 0x224]
call fcn.00401270
push eax
push str.UserLocale
call fcn.0044c810
add esp, 8
push 0x448
call fcn.00401f30
mov dword [ebp - 0x3cc], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3cc], 0
je 0x448e02
mov ecx, dword [ebp - 0x3cc]
call fcn.004418b0
mov dword [ebp - 0x3e0], eax
jmp 0x448e0c
mov dword [ebp - 0x3e0], 0
mov ecx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3c8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c8]
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x25c], 0x104
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0x45becc
call fcn.004018b0
mov edx, dword [eax + 0x48]
push edx
mov ecx, dword [ebp - 0x270]
call fcn.0043eb40
test eax, eax
jne 0x448ea4
mov dword [ebp - 0x25c], 0x104
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0x45bec4
call fcn.004018b0
mov edx, dword [eax + 0x48]
push edx
mov ecx, dword [ebp - 0x270]
call fcn.0043eb40
test eax, eax
je 0x448ea4
lea eax, [ebp - 0x21c]
push eax
call fcn.004018e0
mov dword [ebp - 0x274], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x26c], ax
mov dword [ebp - 0x25c], 0x104
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x21c]
push edx
push str.LANG
call fcn.004018b0
mov eax, dword [eax + 0x48]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.0043eb40
test eax, eax
je 0x448f02
cmp dword [ebp - 0x25c], 0
jbe 0x448f02
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004018e0
mov word [ebp - 0x26c], ax
movzx edx, word [ebp - 0x26c]
and edx, 0x3ff
cmp edx, 1
je 0x448f37
movzx eax, word [ebp - 0x26c]
and eax, 0x3ff
cmp eax, 0xd
je 0x448f37
movzx ecx, word [ebp - 0x26c]
and ecx, 0x3ff
cmp ecx, 0x29
jne 0x448f74
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x448f74
movzx edx, word [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x270]
call fcn.00440c80
test eax, eax
je 0x448f74
push 0x45c00c
push str.ProcessLayout
call fcn.0044c810
add esp, 8
push 1
call dword [sym.imp.USER32.dll_SetProcessDefaultLayout]
mov dword [ebp - 0x278], 0x20
mov dword [ebp - 0x260], 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
test eax, eax
je 0x448fb4
cmp dword [ebp - 0x260], 1
jne 0x448fb4
mov ecx, dword [ebp - 0x278]
or ecx, 0x400000
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x3d8]
mov eax, dword [ebp - 0x270]
mov dword [edx + 0x20], eax
mov dword [ebp - 0x258], 0x30
mov dword [ebp - 0x254], 3
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov edx, dword [ebp - 0x3d8]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x244], eax
push 1
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x240], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 6
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], str.deviceop.x86.epson.co.jp
push 1
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [eax + 0x44]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x22c], eax
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [ebp - 0x270]
push eax
push 0
mov ecx, dword [ebp - 0x274]
push ecx
push 0x32
push 0x32
push 0
push 0
push 0x80000000
push 0
mov edx, dword [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x270]
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
jne 0x449102
mov ecx, dword [ebp - 0x3d8]
mov dword [ecx + 0x20], 0
push str.CreateEx_returns_error__
mov edx, dword [ebp - 0x264]
push edx
push 0x45c064
call fcn.0044c8b0
add esp, 0xc
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00401230
mov eax, dword [ebp - 0x3d0]
jmp 0x449155
push 0
mov ecx, dword [ebp - 0x270]
call fcn.0040c7ff
mov ecx, dword [ebp - 0x270]
call fcn.00401f50
push str.Initialization_terminates_normally...
mov eax, dword [ebp - 0x264]
push eax
push 0x45c0f4
call fcn.0044c8b0
add esp, 0xc
mov dword [ebp - 0x3d4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00401230
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret