Function at 0x410c70
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522f6b
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc20], eax
xor ebx, ebx
mov dword [ebp - 0xc1c], ebx
mov dword [ebp - 4], ebx
push str.FNT_CHECK_ALTITUDE_start
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
call fcn.004290e0
test eax, eax
je 0x410d3e
cmp edi, ebx
je 0x410cda
mov dword [edi], ebx
mov edx, 0x53b300
lea eax, [ebp - 0xc3c]
call fcn.00419e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc3c]
push ecx
lea ecx, [esi + 0x321c]
call fcn.004162a0
cmp dword [eax + 0x18], 8
jb 0x410d0b
mov eax, dword [eax + 4]
jmp 0x410d0e
add eax, 4
push str.FALSE
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
sete bl
mov byte [ebp - 4], 0
lea esi, [ebp - 0xc3c]
call fcn.00418f90
test bl, bl
je 0x410d45
test edi, edi
je 0x410d3e
mov dword [edi], 0
xor eax, eax
jmp 0x410f75
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
movzx ebx, si
push ebx
push str.Lang_id_is_0X_04X
mov ecx, 0x649e50
call fcn.004918f0
push 0x200
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.004fd670
add esp, 0x14
test si, si
je 0x410f48
push 0x200
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004fd670
push ebx
push str.SET_ALTITUDE_LIST
push str._s___id_0X_04X__
lea edx, [ebp - 0x218]
call fcn.00418d80
add esp, 0x18
call fcn.004290e0
push eax
lea edx, [ebp - 0x218]
call fcn.00488160
test al, al
je 0x410f23
lea ecx, [ebp - 0x418]
push ecx
push str.high_altitude_Country_____Current_country_code:__s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
push 0x400
call fcn.004290e0
push eax
lea ecx, [ebp - 0xc18]
lea edx, [ebp - 0x218]
call fcn.00487c90
test eax, eax
jne 0x410f68
lea edx, [ebp - 0xc18]
push edx
push str.SET_ALTITUDE_LIST
push 0x5352d4
lea edx, [ebp - 0x218]
call fcn.00418d80
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc18]
push eax
call fcn.004290e0
mov ebx, str.altitude
lea edx, [ebp - 0x218]
mov ecx, eax
call fcn.00487fa0
test eax, eax
jne 0x410eb2
push str.HIGH1
lea ecx, [ebp - 0xc18]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x410e6c
test edi, edi
je 0x410eb2
mov dword [edi], 1
jmp 0x410eb2
push str.HIGH2
lea edx, [ebp - 0xc18]
push edx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x410e90
test edi, edi
je 0x410eb2
mov dword [edi], 2
jmp 0x410eb2
push str.HIGH3
lea eax, [ebp - 0xc18]
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x410eb2
test edi, edi
je 0x410eb2
mov dword [edi], 3
push 0x800
push 0
lea ecx, [ebp - 0xc18]
push ecx
call fcn.004fd670
add esp, 0xc
push 0x400
lea edx, [ebp - 0xc18]
push edx
call fcn.004290e0
mov ebx, 0x53b428
lea edx, [ebp - 0x218]
mov ecx, eax
call fcn.00487fa0
test eax, eax
jne 0x410f68
push eax
mov eax, dword [ebp + 0xc]
push eax
mov esi, dword [ebp - 0xc20]
push esi
lea ecx, [ebp - 0xc18]
push ecx
call fcn.004290d0
mov ecx, eax
call fcn.00480760
push esi
push str.Command_prn_for_altitude_:___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
jmp 0x410f68
lea edx, [ebp - 0x418]
push edx
push str.No_high_altitude_Country_____Current_country_code:__s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
test edi, edi
je 0x410f68
mov dword [edi], 0
jmp 0x410f68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc1c], eax
push str.Fail_to_GetUserDefaultLangID__
mov ecx, eax
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8