Function at 0x4ac190
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e3cc
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x54d154]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x54d154]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5950c4]
mov edx, 0x5950c8
call fcn.004a5300
test al, al
jne 0x4ac1ed
xor al, al
jmp 0x4ac63f
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call ebx
mov edi, eax
push 0x10
sub edi, 0x258
call ebx
mov ebx, eax
mov eax, dword [0x552fe4]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [0x5950c4]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push ecx
push eax
push 0
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, esp
xor ecx, ecx
push 0xcf0000
mov dword [eax], edi
mov dword [eax + 4], ecx
push 0x5950c8
mov ecx, 0x1f4
mov dword [eax + 8], ebx
push 0x5950c8
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call edx
test al, al
je 0x4ac1e6
push 0x4adca0
mov ebx, 0x9c43
mov eax, esi
call fcn.004a5780
push 0x4adc40
mov ebx, 0x9c41
mov eax, esi
call fcn.004a5780
push 0x4adc60
mov ebx, 0x9c44
mov eax, esi
call fcn.004a5780
push 0x4adc80
push 0x4e
mov eax, esi
call fcn.004a5690
push 0x4adc20
push 0x14
mov eax, esi
call fcn.004a5690
push 0x4adc30
push 0x9000
mov eax, esi
call fcn.004a5690
push 0x4adc50
push 0x112
mov eax, esi
call fcn.004a5690
mov eax, dword [esi + 0x14]
push 0
push 0x3e8
push 0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [0x5950c4]
mov edx, 0x12c
mov edi, edx
mov dword [eax + 8], edx
push ecx
mov dword [esp + 0x3c], edi
mov dword [eax + 0xc], edi
call fcn.004a5460
test eax, eax
mov dword [esi + 0x8c], eax
je 0x4ac1e6
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x130
push ebx
push 0x1036
push eax
call edi
push 0x3c
push esi
mov edx, str.Type
xor ecx, ecx
call fcn.004abf10
push 0x140
push esi
mov edx, 0x528be8
mov ecx, 1
call fcn.004abf10
push 0x96
push esi
mov edx, str.Time
mov ecx, 2
call fcn.004abf10
push 0xfe
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.004e86a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
cmp eax, 0x412
jg 0x4ac3c1
je 0x4ac3b0
sub eax, 0x404
je 0x4ac3a9
sub eax, 0xd
jne 0x4ac3c8
push str.MS_Gothic
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x4ac3e8
push str.PMingliu
jmp 0x4ac3de
push str.Gulim
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4ac3e8
cmp eax, 0x804
je 0x4ac3d9
push str.Gulim
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x4ac3e8
push str.SimSun
push 0xff
lea ecx, [esp + 0x34]
push ecx
call fcn.004e4fc0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xb
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push eax
mov eax, dword [esi + 0x8c]
push 0x30
push eax
call edi
push 0x180
call fcn.004e3ac8
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x4ac44b
push eax
call fcn.0049daa0
jmp 0x4ac44d
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
lea edi, [esi + 0xc0]
push 0x158
mov dword [edi], eax
call fcn.004e3ac8
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 1
test eax, eax
je 0x4ac488
push eax
call fcn.004b2f20
jmp 0x4ac48a
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
mov ecx, dword [edi]
push 0x101
mov dword [esi + 0xbc], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
xor edx, edx
mov dword [eax + 4], edx
mov edx, 0x12c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x14]
mov edx, dword [0x5950c4]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
call eax
test al, al
je 0x4ac1e6
mov ecx, dword [esi + 0xbc]
mov ebx, dword [ecx]
push 0x102
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov edx, 0x12c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x14]
mov edx, dword [0x5950c4]
push eax
mov eax, dword [ebx + 0x10]
push edx
call eax
test al, al
je 0x4ac1e6
lea ebx, [esi + 0x98]
mov eax, edi
call fcn.004ad300
lea eax, [esi + 0xbc]
call fcn.004ad300
push str.arial
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esi + 0x14]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x90], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0xbc]
mov eax, dword [edx + 0x14]
mov ecx, dword [edi]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [esi + 0xb8], eax
lea ebx, [esi + 0xa4]
mov eax, edi
mov dword [esi + 0xb4], edx
call fcn.004ad300
fld dword [0x52a804]
mov eax, dword [esi + 0xb0]
push ecx
mov ecx, dword [esi + 0xb4]
fstp dword [esp]
mov edx, esi
call fcn.004ade80
fld dword [0x52a800]
mov eax, dword [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0xb8]
fstp dword [esp]
mov edx, esi
call fcn.004ade80
push 5
call fcn.004a55d0
call fcn.004a5600
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push ecx
mov ebx, eax
call edi
push 2
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push str.MainView
push ebx
push 0x10
push eax
call edi
push str.ArchitectureView
push 0xbb9
push 0
push ebx
call edi
push 8
push 0xbb9
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x4adc70
mov ebx, 0xbb9
mov eax, esi
call fcn.004a5780
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004e3834
mov esp, ebp
pop ebp
ret