Function at 0x446550
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4cd094]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4cd094]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x512a34]
mov edx, 0x512a38
call fcn.00448450
test al, al
jne 0x4465ad
xor al, al
jmp 0x4469ff
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 [0x4d1478]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [0x512a34]
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 0x512a38
mov ecx, 0x1f4
mov dword [eax + 8], ebx
push 0x512a38
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call edx
test al, al
je 0x4465a6
push 0x448060
mov ebx, 0x9c43
mov eax, esi
call fcn.004488d0
push 0x448000
mov ebx, 0x9c41
mov eax, esi
call fcn.004488d0
push 0x448020
mov ebx, 0x9c44
mov eax, esi
call fcn.004488d0
push 0x448040
push 0x4e
mov eax, esi
call fcn.004487e0
push 0x447fe0
push 0x14
mov eax, esi
call fcn.004487e0
push 0x447ff0
push 0x9000
mov eax, esi
call fcn.004487e0
push 0x448010
push 0x112
mov eax, esi
call fcn.004487e0
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 [0x512a34]
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.004485b0
test eax, eax
mov dword [esi + 0x8c], eax
je 0x4465a6
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.004462d0
push 0x140
push esi
mov edx, 0x4b7738
mov ecx, 1
call fcn.004462d0
push 0x96
push esi
mov edx, str.Time
mov ecx, 2
call fcn.004462d0
push 0xfe
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.00484950
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
cmp eax, 0x412
jg 0x446781
je 0x446770
sub eax, 0x404
je 0x446769
sub eax, 0xd
jne 0x446788
push str.MS_Gothic
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x4467a8
push str.PMingliu
jmp 0x44679e
push str.Gulim
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4467a8
cmp eax, 0x804
je 0x446799
push str.Gulim
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x4467a8
push str.SimSun
push 0xff
lea ecx, [esp + 0x34]
push ecx
call fcn.004819ec
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.004804f3
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x44680b
push eax
call fcn.00441380
jmp 0x44680d
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
lea edi, [esi + 0xc0]
push 0x158
mov dword [edi], eax
call fcn.004804f3
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 1
test eax, eax
je 0x446848
push eax
call fcn.004541a0
jmp 0x44684a
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 [0x512a34]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
call eax
test al, al
je 0x4465a6
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 [0x512a34]
push eax
mov eax, dword [ebx + 0x10]
push edx
call eax
test al, al
je 0x4465a6
lea ebx, [esi + 0x98]
mov eax, edi
call fcn.004476c0
lea eax, [esi + 0xbc]
call fcn.004476c0
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.004476c0
fld dword [0x4b902c]
mov eax, dword [esi + 0xb0]
push ecx
mov ecx, dword [esi + 0xb4]
fstp dword [esp]
mov edx, esi
call fcn.0044f100
fld dword [0x4b9028]
mov eax, dword [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0xb8]
fstp dword [esp]
mov edx, esi
call fcn.0044f100
push 5
call fcn.00448720
call fcn.00448750
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 0x448030
mov ebx, 0xbb9
mov eax, esi
call fcn.004488d0
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.004804c6
mov esp, ebp
pop ebp
ret