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

Disassembly:
push 0xffffffffffffffff
push 0x55cac4
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x390]
xor esi, esi
push 0x206
lea eax, [esp + 0x17a]
mov edi, ecx
push esi
push eax
mov dword [esp + 0x20], edi
mov word [esp + 0x180], si
call fcn.004afb50
add esp, 0xc
push ebp
push 0x104
lea ecx, [esp + 0x17c]
push ecx
push 0x5731a4
push 0x57538c
push 0x5755a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 7
lea eax, [esp + 0x174]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41fea7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402120
push 0xb
push str.CITY_SELECT
lea ecx, [esp + 0x20]
mov dword [esp + 0x390], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
call fcn.00402120
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x390], 1
call fcn.0042b280
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x38c], 2
call fcn.0041c950
mov ecx, dword [edi + 0x82958]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x390], 3
call fcn.0041ea80
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x41ff57
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x70], si
jb 0x41ff7d
mov edx, dword [esp + 0x54]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0xbc], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x41ffa3
mov eax, dword [esp + 0xa8]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0xa0], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], si
jb 0x41ffd2
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
mov word [esp + 0x8c], si
jb 0x41fffb
mov edx, dword [esp + 0x1c]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
mov dword [esp + 0x388], 0xffffffff
jb 0x420026
mov eax, dword [esp + 0x38]
push eax
call fcn.00492573
add esp, 4
push 0x104
lea ecx, [esp + 0x178]
push esi
push ecx
call fcn.004afb50
add esp, 0xc
push ebp
push 0x104
lea edx, [esp + 0x17c]
push edx
push 0x5731a4
push 0x572ab4
push 0x572aa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x174]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x420076
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x3c]
call fcn.00402120
push edi
push str.SKIN_PRE
lea ecx, [esp + 0x20]
mov dword [esp + 0x390], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
call fcn.00402120
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x390], 5
call fcn.0042b280
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x38c], 6
call fcn.0041c950
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [edx + 0x82958]
mov byte [esp + 0x390], bl
call fcn.0041ea80
cmp dword [esp + 0x84], edi
jb 0x420127
mov eax, dword [esp + 0x70]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x70], si
jb 0x42014d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0xbc], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x420173
mov edx, dword [esp + 0xa8]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0xa0], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], si
jb 0x4201a2
mov eax, dword [esp + 0x8c]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
mov word [esp + 0x8c], si
jb 0x4201cb
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
mov dword [esp + 0x388], 0xffffffff
jb 0x4201f6
mov edx, dword [esp + 0x38]
push edx
call fcn.00492573
add esp, 4
push 0x104
lea eax, [esp + 0x178]
push esi
push eax
call fcn.004afb50
add esp, 0xc
push ebp
push 0x104
lea ecx, [esp + 0x17c]
push ecx
push 0x5731a4
push 0x572a9c
push 0x572aa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x174]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], esi
mov word [esp + 0xe0], si
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x420250
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0xe4]
call fcn.00402120
push 0xa
push str.SKIN_AFTER
lea ecx, [esp + 0xc8]
mov dword [esp + 0x390], edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov word [esp + 0xcc], si
call fcn.00402120
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x144]
mov byte [esp + 0x390], 9
call fcn.0042b280
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x38c], 0xa
call fcn.0041c950
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x82958]
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x390], 0xb
call fcn.0041ea80
cmp dword [esp + 0x138], edi
jb 0x42031d
mov edx, dword [esp + 0x124]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x11c], edi
mov dword [esp + 0x138], ebx
mov dword [esp + 0x134], esi
mov word [esp + 0x124], si
jb 0x42034c
mov eax, dword [esp + 0x108]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x170], edi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x118], esi
mov word [esp + 0x108], si
jb 0x42037b
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x154], edi
mov dword [esp + 0x170], ebx
mov dword [esp + 0x16c], esi
mov word [esp + 0x15c], si
jb 0x4203aa
mov edx, dword [esp + 0x140]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0xd8], edi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x150], esi
mov word [esp + 0x140], si
jb 0x4203d9
mov eax, dword [esp + 0xc4]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0xf4], edi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], esi
mov word [esp + 0xc4], si
jb 0x420408
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00492573
add esp, 4
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.004aeca3
add esp, 0x378
ret 4