Function at 0x4862b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a951
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x549e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebx + 0x1a8]
lea ecx, [ebx + 0x1a8]
call dword [eax + 0x24]
mov eax, dword [ebx + 0x350]
lea esi, [ebx + 0x350]
mov ecx, esi
call dword [eax + 0x24]
mov eax, dword [ebx + 0x4f8]
lea edi, [ebx + 0x4f8]
mov ecx, edi
call dword [eax + 0x24]
mov eax, dword [ebx + 0x6a0]
add ebx, 0x6a0
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18c]
add ecx, 0x848
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18c]
add ecx, 0x9f0
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18c]
add ecx, 0xb98
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18c]
add ecx, 0xd40
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x18c]
add ecx, 0xee8
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
push str._settingsMapList.ini
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 4], 0
call dword [sym.imp.Engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
je 0x4866fa
push 0x80
lea eax, [ebp - 0x120]
push eax
push 0x51f5b1
push str.WorldMapImage
push str.List
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.Engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
test eax, eax
je 0x4866fa
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x120]
push 1
push eax
push 1
call fcn.004115f0
mov ecx, dword [0x54d3c4]
lea edx, [ebp - 0x180]
push 0
mov dword [ebp - 0x190], 0xffffffff
mov dword [ebp - 0x194], 0
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 0x5c]
push dword [ebp - 0x130]
lea eax, [ebp - 0x120]
push str._d_MapPos
push eax
call fcn.004017f0
add esp, 0xc
lea eax, [ebp - 0x194]
lea ecx, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x120]
push eax
push str.List
call dword [sym.imp.Engine.dll_public:_void___thiscall_KIniFile::GetInteger2_char_const___char_const___int___int__]
lea eax, [ebp - 0x30]
push str.City
push eax
call fcn.004017f0
lea eax, [ebp - 0x40]
push str.Capital
push eax
call fcn.004017f0
lea eax, [ebp - 0x50]
push str.Cave
push eax
call fcn.004017f0
lea eax, [ebp - 0x60]
push str.Battlefield
push eax
call fcn.004017f0
lea eax, [ebp - 0x70]
push str.Field
push eax
call fcn.004017f0
lea eax, [ebp - 0x80]
push str.Others
push eax
call fcn.004017f0
lea eax, [ebp - 0x90]
push str.Country
push eax
call fcn.004017f0
lea eax, [ebp - 0xa0]
push 0x525840
push eax
call fcn.004017f0
add esp, 0x40
lea eax, [ebp - 0x20]
push dword [ebp - 0x130]
push str._d_MapType
push eax
call fcn.004017f0
add esp, 0xc
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1ec]
push 0x10
push eax
push 0x51f5b1
push eax
push str.List
call dword [sym.imp.Engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
cmp dword [ebp - 0x190], 0xffffffff
je 0x4866fa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
je 0x4866a9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x486591
lea eax, [ebp - 0x184]
mov ecx, edi
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0041c450
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x194]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x188]
cdq
add ecx, 0x12
sub eax, edx
mov edx, dword [ebp - 0x190]
sar eax, 1
sub edx, eax
push ecx
add edx, 0x1e
mov ecx, edi
push edx
call fcn.0041cb80
mov eax, dword [edi]
mov ecx, edi
jmp 0x4866f7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x4865f8
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0041c450
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x194]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x188]
cdq
add ecx, 0x12
sub eax, edx
mov edx, dword [ebp - 0x190]
sar eax, 1
sub edx, eax
push ecx
add edx, 0x1e
mov ecx, ebx
push edx
call fcn.0041cb80
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x4866f7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x48661d
mov esi, dword [ebp - 0x18c]
add esi, 0x848
jmp 0x4866a9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x48663f
mov esi, dword [ebp - 0x18c]
add esi, 0x9f0
jmp 0x4866a9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x486661
mov esi, dword [ebp - 0x18c]
add esi, 0xb98
jmp 0x4866a9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x486686
mov esi, dword [ebp - 0x18c]
add esi, 0xd40
jmp 0x4866a9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004eff0a
add esp, 8
test eax, eax
jne 0x4866fa
mov esi, dword [ebp - 0x18c]
add esi, 0xee8
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0041c450
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x194]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x188]
cdq
add ecx, 0x12
sub eax, edx
mov edx, dword [ebp - 0x190]
sar eax, 1
sub edx, eax
push ecx
add edx, 0x1e
mov ecx, esi
push edx
call fcn.0041cb80
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a3c9
mov esp, ebp
pop ebp
ret