Function at 0x45bdf0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d39dc
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4f5160]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4f5160]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x53b404]
mov edx, 0x53b408
call fcn.0045de10
test al, al
jne 0x45be4d
xor al, al
jmp 0x45c29b
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 [0x4f9ca0]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [0x53b404]
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 0x53b408
mov ecx, 0x1f4
mov dword [eax + 8], ebx
push 0x53b408
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call edx
test al, al
je 0x45be46
push 0x45da20
mov ebx, 0x9c43
mov eax, esi
call fcn.0045e290
push 0x45d9c0
mov ebx, 0x9c41
mov eax, esi
call fcn.0045e290
push 0x45d9e0
mov ebx, 0x9c44
mov eax, esi
call fcn.0045e290
push 0x45da00
push 0x4e
mov eax, esi
call fcn.0045e1a0
push 0x45d9a0
push 0x14
mov eax, esi
call fcn.0045e1a0
push 0x45d9b0
push 0x9000
mov eax, esi
call fcn.0045e1a0
push 0x45d9d0
push 0x112
mov eax, esi
call fcn.0045e1a0
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 [0x53b404]
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.0045df70
test eax, eax
mov dword [esi + 0x8c], eax
je 0x45be46
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.0045bb70
push 0x140
push esi
mov edx, 0x4dc164
lea ecx, [ebx + 1]
call fcn.0045bb70
push 0x96
push esi
mov edx, str.Time
lea ecx, [ebx + 2]
call fcn.0045bb70
push 0xfe
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.004a2b10
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
cmp eax, 0x412
jg 0x45c01d
je 0x45c00c
sub eax, 0x404
je 0x45c005
sub eax, 0xd
jne 0x45c024
push str.MS_Gothic
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x45c044
push str.PMingliu
jmp 0x45c03a
push str.Gulim
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x45c044
cmp eax, 0x804
je 0x45c035
push str.Gulim
push 0xff
lea eax, [esp + 0x34]
push eax
jmp 0x45c044
push str.SimSun
push 0xff
lea ecx, [esp + 0x34]
push ecx
call fcn.0049f01c
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 0x184
call fcn.0049d3c8
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x45c0a7
push eax
call fcn.004552f0
jmp 0x45c0a9
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
lea edi, [esi + 0xc0]
push 0x158
mov dword [edi], eax
call fcn.0049d3c8
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 1
test eax, eax
je 0x45c0e4
push eax
call fcn.00469e50
jmp 0x45c0e6
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 [0x53b404]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
call eax
test al, al
je 0x45be46
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 [0x53b404]
push eax
mov eax, dword [ebx + 0x10]
push edx
call eax
test al, al
je 0x45be46
lea ebx, [esi + 0x98]
mov eax, edi
call fcn.0045d080
lea eax, [esi + 0xbc]
call fcn.0045d080
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.0045d080
fld dword [0x4ddf3c]
mov eax, dword [esi + 0xb0]
push ecx
mov ecx, dword [esi + 0xb4]
fstp dword [esp]
mov edx, esi
call fcn.00464c30
fld dword [0x4ddf38]
mov eax, dword [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0xb8]
fstp dword [esp]
mov edx, esi
call fcn.00464c30
push 5
call fcn.0045e0e0
call fcn.0045e110
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 0x45d9f0
mov ebx, 0xbb9
mov eax, esi
call fcn.0045e290
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.0049d2c8
mov esp, ebp
pop ebp
ret