Function at 0x414340
Capabilities:
Get geographical location
Read .ini file

Disassembly:
mov eax, 0x4920
call fcn.00458680
mov dl, byte [0x494b70]
push ebx
push ebp
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x3929]
mov byte [esp + 0x3928], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
push 0x494f68
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1524]
push 0x400
push eax
push str.English
push 0x48e194
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1520]
lea edx, [esp + 0x14]
push ecx
push 0x494e60
push str._sLanguage_s.ini
push edx
call fcn.004585a3
mov al, byte [0x494b70]
mov ecx, 0x400
mov byte [esp + 0x12c], al
xor eax, eax
lea edi, [esp + 0x12d]
add esp, 0x10
rep stosd dword es:[edi], eax
call fcn.00474e29
mov eax, dword [eax + 8]
lea ecx, [esp + 0x11c]
push 0x1000
push ecx
push 0x8048
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x1921]
mov byte [esp + 0x1920], dl
lea ebx, [esp + 0x11c]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], eax
cmp ecx, 0x1000
jbe 0x414463
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 1]
push eax
call fcn.0046efc9
add esp, 4
mov ebp, eax
mov dword [esp + 0xc], 1
jmp 0x41446a
lea ebp, [esp + 0x1920]
push esi
mov byte [ebp], 0
push 0x48e170
push ebx
call fcn.00458600
add esp, 8
test eax, eax
je 0x4144f6
mov byte [eax], 0
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48e174
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e170
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
lea ebx, [ecx + edx]
jmp 0x41446f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x414552
push ebp
call fcn.0046eff2
add esp, 4
mov cl, byte [0x494b70]
xor eax, eax
mov byte [esp + 0x1924], cl
mov ecx, 0x400
lea edi, [esp + 0x1925]
lea ebx, [esp + 0x120]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], eax
cmp ecx, 0x1000
jbe 0x4145b9
lea edi, [esp + 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ecx + 1]
push edx
call fcn.0046efc9
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], 1
jmp 0x4145c0
lea ebp, [esp + 0x1924]
mov byte [ebp], 0
push 0x48e168
push ebx
call fcn.00458600
add esp, 8
test eax, eax
je 0x41464b
mov byte [eax], 0
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48e16c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e168
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
lea ebx, [ecx + edx]
jmp 0x4145c4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4146a7
push ebp
call fcn.0046eff2
add esp, 4
mov cl, byte [0x494b70]
xor eax, eax
mov byte [esp + 0x2928], cl
mov ecx, 0x400
lea edi, [esp + 0x2929]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x292c]
push 0x1000
lea ecx, [esp + 0x128]
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x2928]
test al, al
je 0x414727
lea edi, [esp + 0x2928]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x48e170
lea ecx, [esp + 0x124]
push 0x48e174
push ecx
call fcn.004088f0
push 0x48e168
lea edx, [esp + 0x130]
push 0x48e16c
push edx
call fcn.004088f0
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x392c]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x494f68
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3930]
push ecx
push 0x48f4a4
push str.System
call ebx
mov edi, 0x494e60
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 3
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x1124]
push str.English
push edx
call fcn.004585a3
lea eax, [esp + 0x1c]
push 0x48f4a0
push eax
call fcn.0045d2f0
add esp, 0x10
test eax, eax
pop esi
jne 0x41481a
lea ecx, [esp + 0x1120]
push str.ChineseGB
push ecx
call fcn.004585a3
add esp, 8
lea edx, [esp + 0x10]
push 0x48f490
push edx
call fcn.0045d2f0
add esp, 8
test eax, eax
jne 0x414845
lea eax, [esp + 0x1120]
push str.ChineseBig5
push eax
call fcn.004585a3
add esp, 8
lea ecx, [esp + 0x1120]
push 0x494f68
push ecx
push 0x48e194
push str.System
call ebx
pop edi
pop ebp
pop ebx
add esp, 0x4920
ret