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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca459
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
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.00462160
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], 0x4e7908
mov dword [edi + 0x28], 0x4e793c
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], 0x4e793c
mov dword [ecx], 0x4e7908
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 [0x530564], 0
jne 0x44f448
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x44f441
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetUserDefaultLocaleName
push edi
call esi
push str.GetSystemDefaultLocaleName
push edi
mov dword [0x53055c], eax
call esi
mov dword [0x530560], eax
mov byte [0x530564], 1
cmp dword [0x53055c], 0
je 0x44f488
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push 0x55
push eax
call fcn.00409470
mov byte [ebp - 4], 0x14
mov ebx, 1
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
mov byte [eax + 4], bl
call fcn.00403f10
push 0x55
push dword [eax]
call dword [0x53055c]
test eax, eax
jne 0x44f48b
mov byte [ebp - 0xd], bl
jmp 0x44f48f
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0x13
test bl, 1
je 0x44f4a9
and ebx, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.00409a90
cmp byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x18]
je 0x44f4c9
cmp dword [esi + 0x64], 8
lea eax, [esi + 0x50]
mov dword [eax + 0x10], 0
jb 0x44f4c4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x530560], 0
je 0x44f507
push 0x55
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00409470
mov byte [ebp - 4], 0x15
or ebx, 2
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403f10
push 0x55
push dword [eax]
call dword [0x530560]
mov byte [ebp - 0xd], 1
test eax, eax
je 0x44f50b
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0x13
test bl, 2
je 0x44f525
and ebx, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.00409a90
cmp byte [ebp - 0xd], 0
je 0x44f548
cmp dword [esi + 0x94], 8
lea eax, [esi + 0x80]
mov dword [eax + 0x10], 0
jb 0x44f543
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