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

Disassembly:
mov eax, 0x4920
call fcn.00457d20
mov dl, byte [0x493b50]
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 0x493f48
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1524]
push 0x400
push eax
push str.English
push 0x48d194
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1520]
lea edx, [esp + 0x14]
push ecx
push 0x493e40
push str._sLanguage_s.ini
push edx
call fcn.00457c43
mov al, byte [0x493b50]
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.004744d9
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 [0x493b50]
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 0x414043
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.0046e679
add esp, 4
mov ebp, eax
mov dword [esp + 0xc], 1
jmp 0x41404a
lea ebp, [esp + 0x1920]
push esi
mov byte [ebp], 0
push 0x48d170
push ebx
call fcn.00457ca0
add esp, 8
test eax, eax
je 0x4140d6
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, 0x48d174
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, 0x48d170
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
lea ebx, [ecx + edx]
jmp 0x41404f
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 0x414132
push ebp
call fcn.0046e6a2
add esp, 4
mov cl, byte [0x493b50]
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 0x414199
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.0046e679
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], 1
jmp 0x4141a0
lea ebp, [esp + 0x1924]
mov byte [ebp], 0
push 0x48d168
push ebx
call fcn.00457ca0
add esp, 8
test eax, eax
je 0x41422b
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, 0x48d16c
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, 0x48d168
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
lea ebx, [ecx + edx]
jmp 0x4141a4
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 0x414287
push ebp
call fcn.0046e6a2
add esp, 4
mov cl, byte [0x493b50]
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 0x414307
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 0x48d170
lea ecx, [esp + 0x124]
push 0x48d174
push ecx
call fcn.004085c0
push 0x48d168
lea edx, [esp + 0x130]
push 0x48d16c
push edx
call fcn.004085c0
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 0x493f48
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3930]
push ecx
push 0x48e4a4
push str.System
call ebx
mov edi, 0x493e40
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.00457c43
lea eax, [esp + 0x1c]
push 0x48e4a0
push eax
call fcn.0045c970
add esp, 0x10
test eax, eax
pop esi
jne 0x4143fa
lea ecx, [esp + 0x1120]
push str.ChineseGB
push ecx
call fcn.00457c43
add esp, 8
lea edx, [esp + 0x10]
push 0x48e490
push edx
call fcn.0045c970
add esp, 8
test eax, eax
jne 0x414425
lea eax, [esp + 0x1120]
push str.ChineseBig5
push eax
call fcn.00457c43
add esp, 8
lea ecx, [esp + 0x1120]
push 0x493f48
push ecx
push 0x48d194
push str.System
call ebx
pop edi
pop ebp
pop ebx
add esp, 0x4920
ret