Function at 0x446e70
Capabilities:
Access peb ldr_data
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf749
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
lea edi, [ebx + 4]
mov dword [ebp - 0x20], edi
lea esi, [edi + 4]
mov dword [ebx], vtable.CCondition.0
mov dword [edi], vtable.CProperties.0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045a200
mov dword [esi], eax
mov dword [ebp - 4], 2
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 3
mov byte [ebx + 0x14], 0
mov dword [ebp - 4], 4
mov dword [ebx], vtable.CLocaleCondition.0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 5
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 6
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebx + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebx + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [ebx + 0x44], ax
call dword [sym.imp.KERNEL32.dll_GetACP]
lea edi, [ebx + 0x4c]
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x20], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0x4dd804
mov dword [edi + 0x28], 0x4dcac4
call ebx
mov dword [edi + 0x2c], eax
mov byte [ebp - 4], 8
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
mov byte [ebp - 4], 9
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 4]
push dword [eax + edi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 0x28]
mov dword [esi], 0x4dcac4
mov dword [ecx], 0x4dd804
call ebx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
mov byte [ebp - 4], 0xe
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov byte [ebp - 4], 0xf
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0x10
mov eax, dword [esi]
mov eax, dword [eax + 4]
push dword [eax + esi]
call edi
mov byte [ebp - 4], 0x13
cmp byte [0x522580], 0
jne 0x447058
push 0x4e46c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x447051
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetUserDefaultLocaleName
push edi
call esi
push str.GetSystemDefaultLocaleName
push edi
mov dword [0x522584], eax
call esi
mov dword [0x52257c], eax
mov byte [0x522580], 1
cmp dword [0x522584], 0
je 0x447098
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push 0x55
push eax
call fcn.00409e80
mov byte [ebp - 4], 0x14
mov ebx, 1
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
mov byte [eax + 4], bl
call fcn.00404040
push 0x55
push dword [eax]
call dword [0x522584]
test eax, eax
jne 0x44709b
mov byte [ebp - 0xd], bl
jmp 0x44709f
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0x13
test bl, 1
je 0x4470b9
and ebx, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.00409da0
cmp byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x18]
je 0x4470d9
lea eax, [esi + 0x50]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4470d4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x52257c], 0
je 0x447117
push 0x55
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00409e80
mov byte [ebp - 4], 0x15
or ebx, 2
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00404040
push 0x55
push dword [eax]
call dword [0x52257c]
mov byte [ebp - 0xd], 1
test eax, eax
je 0x44711b
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0x13
test bl, 2
je 0x447135
and ebx, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.00409da0
cmp byte [ebp - 0xd], 0
je 0x447155
lea eax, [esi + 0x80]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x447150
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret