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

Disassembly:
push 0xffffffffffffffff
push 0x5e3f14
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x364], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38c]
push 0x206
mov ebp, ecx
xor esi, esi
lea ecx, [esp + 0x176]
xor eax, eax
push esi
push ecx
mov word [esp + 0x17c], ax
call fcn.004e9ba0
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x178]
push edx
push 0x5ff1a4
push str._b_W
push 0x601bec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0x34], ax
mov ebx, 7
lea eax, [esp + 0x170]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x423967
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401c70
push 0xb
xor edx, edx
push str.CITY_SELECT
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov word [esp + 0x20], dx
call fcn.00401c70
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x38c], 1
call fcn.00430680
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x388], 2
call fcn.0041e200
mov ecx, dword [ebp + 0x829a0]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x38c], 3
call fcn.004217b0
lea ecx, [esp + 0x90]
call fcn.0041c770
lea ecx, [esp + 0xc8]
call fcn.0041c770
cmp dword [esp + 0x2c], 8
jb 0x423a30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov word [esp + 0x18], dx
mov dword [esp + 0x384], 0xffffffff
jb 0x423a5e
mov eax, dword [esp + 0x34]
push eax
call fcn.004ca5d9
add esp, 4
push 0x104
lea ecx, [esp + 0x174]
push esi
push ecx
call fcn.004e9ba0
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x178]
push edx
push 0x5ff1a4
push 0x5fea4c
push 0x5fea34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x170]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x423ab0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401c70
push 8
xor edx, edx
push str.SKIN_PRE
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38c], 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov word [esp + 0x20], dx
call fcn.00401c70
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x38c], 5
call fcn.00430680
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x388], 6
call fcn.0041e200
mov ecx, dword [ebp + 0x829a0]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x38c], bl
call fcn.004217b0
lea ecx, [esp + 0x90]
call fcn.0041c770
lea ecx, [esp + 0xc8]
call fcn.0041c770
cmp dword [esp + 0x2c], 8
jb 0x423b7c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov word [esp + 0x18], dx
mov dword [esp + 0x384], 0xffffffff
jb 0x423baa
mov eax, dword [esp + 0x34]
push eax
call fcn.004ca5d9
add esp, 4
push 0x104
lea ecx, [esp + 0x174]
push esi
push ecx
call fcn.004e9ba0
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x178]
push edx
push 0x5ff1a4
push 0x5fea40
push 0x5fea34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x170]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x423c00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x70]
call fcn.00401c70
push 0xa
xor edx, edx
mov edi, 8
push str.SKIN_AFTER
lea ecx, [esp + 0x54]
mov dword [esp + 0x38c], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], esi
mov word [esp + 0x58], dx
call fcn.00401c70
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x140]
mov byte [esp + 0x38c], 9
call fcn.00430680
push eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x388], 0xa
call fcn.0041e200
mov ecx, dword [ebp + 0x829a0]
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x38c], 0xb
call fcn.004217b0
lea ecx, [esp + 0x100]
call fcn.0041c770
lea ecx, [esp + 0x138]
call fcn.0041c770
cmp dword [esp + 0x64], edi
jb 0x423ccd
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x50], dx
cmp dword [esp + 0x80], edi
jb 0x423cf2
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x364]
xor ecx, esp
call fcn.004e8c89
add esp, 0x374
ret 4