Function at 0x421c08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 8
call fcn.0047a2e4
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x49d39c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov eax, str.city.off
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421c5b
push ebx
call fcn.0047a2ea
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x421d72
push 1
mov eax, str.city.off
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421c96
push ebx
call fcn.0047a2ea
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x421ca9
mov eax, 0x49d2b0
push eax
push 1
mov ebx, 0x15c
call fcn.004801f0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x421ccf
push ebx
call fcn.0047a2ea
add esp, 4
mov ebx, 6
call fcn.004092b8
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x421cec
mov eax, 0x49d2b0
push eax
push 3
mov ebx, 0x190
call fcn.0047d9a0
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x421d12
push ebx
call fcn.0047a2ea
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x421d34
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x421d30
imul eax, dword [ebx]
jmp 0x421d25
mov ecx, eax
test ecx, ecx
je 0x421d53
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x421d4c
push ebx
push eax
call fcn.0047a2ea
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421d3a
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00421f18
jmp 0x421ec8
mov eax, str.city.on
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421da1
push ebx
call fcn.0047a2ea
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x421ebe
push 1
mov eax, str.city.on
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x11c]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x421ddc
push ebx
call fcn.0047a2ea
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x421def
mov eax, 0x49d2b0
push eax
push 1
mov ebx, 0x15c
call fcn.004801f0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x421e15
push ebx
call fcn.0047a2ea
add esp, 4
mov ebx, 6
call fcn.004092b8
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x421e32
mov eax, 0x49d2b0
push eax
push 3
mov ebx, 0x190
call fcn.0047d9a0
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x421e58
push ebx
call fcn.0047a2ea
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x421e7a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x421e76
imul eax, dword [ebx]
jmp 0x421e6b
mov ecx, eax
test ecx, ecx
je 0x421e99
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x421e92
push ebx
push eax
call fcn.0047a2ea
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421e80
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00421f18
and eax, 1
xor eax, 1
jmp 0x421ec8
mov eax, 0
jmp 0x421ec8
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x421ee7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x421ee3
imul eax, dword [ebx]
jmp 0x421ed8
mov ecx, eax
test ecx, ecx
je 0x421f06
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x421eff
push ebx
push eax
call fcn.0047a2ea
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421eed
call fcn.0047a2ea
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4