Function at 0x428470
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42874d
sub esp, 0x44
mov ebp, dword [0xb402cc]
test ebp, ebp
je 0x4286cb
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
xor eax, eax
xor ecx, ecx
jmp 0x4284ba
mov edi, dword [ebp + eax*4]
inc eax
add edi, ecx
mov ecx, edi
shl edi, 0xa
add ecx, edi
mov edi, ecx
shr ecx, 6
xor ecx, edi
cmp eax, esi
jl 0x4284a5
mov edi, dword [0xb402cc]
test byte [edi], al
mov eax, ebp
mov ebp, dword [esp + 0x4c]
mov edx, esi
lea esi, [ecx + ebp]
mov ecx, esi
shl esi, 0xa
add esi, ecx
mov ecx, esi
shr esi, 6
xor esi, ecx
lea esi, [esi + esi*8]
mov ecx, esi
shr esi, 0xb
xor esi, ecx
mov ecx, eax
mov eax, 0x74d43f79
mov ebx, edx
mul esi
add edx, esi
rcr edx, 1
shr edx, 0x11
mov eax, ebp
imul ebp, edx, 0x2bf1f
mov edx, esi
sub esi, ebp
cmp esi, 0x2bf1f
jae 0x42872a
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov ebp, dword [edi + esi*4]
mov edi, dword [esp + 0x48]
jmp 0x42852b
mov ebp, dword [ebp]
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x4285e9
cmp dword [ebp + 8], edi
jne 0x4285d6
cmp dword [ebp + 0xc], edx
jne 0x4285c6
cmp dword [ebp + 0x10], eax
je 0x42856b
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x38]
movzx esi, byte [esp + 0x1f]
xchg esi, eax
test al, al
xchg esi, eax
je 0x428524
mov dword [esp + 0x60], ebp
add esp, 0x44
ret
nop
mov esi, dword [ebp + 0x14]
cmp esi, 0x20
ja 0x42871e
mov dword [esp + 0x40], ebp
lea eax, [ebp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.00428760
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x4c]
jmp 0x428558
mov dword [esp + 0x30], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x30]
jmp 0x428558
mov dword [esp + 0x28], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x28]
jmp 0x428558
movzx ebp, byte [esp + 0x5c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4286bf
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.00428320
mov eax, dword [esp + 8]
nop
mov edx, dword [eax + 0x14]
cmp edx, 0x20
ja 0x428714
mov ecx, dword [esp + 0x54]
cmp edx, ecx
jle 0x4286b8
mov dword [esp + 0x40], eax
lea edx, [eax + 0x18]
mov ebx, dword [esp + 0x50]
cmp edx, ebx
je 0x428643
mov dword [esp], edx
mov dword [esp + 4], ebx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00459fc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x10], eax
mov eax, dword [0xb402cc]
test byte [eax], al
mov edx, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
mov eax, dword [0xb402cc]
test byte [eax], al
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x48]
cmp eax, 1
jne 0x428691
mov eax, dword [0xb402ec]
mov dword [ecx + 4], eax
mov dword [0xb402ec], ecx
mov dword [esp + 0x60], ecx
add esp, 0x44
ret
cmp eax, 3
jne 0x4286a7
mov eax, dword [0xb4031c]
mov dword [ecx + 4], eax
mov dword [0xb4031c], ecx
jmp 0x428689
mov eax, dword [0xb402c8]
mov dword [ecx + 4], eax
mov dword [0xb402c8], ecx
jmp 0x428689
mov ecx, edx
jmp 0x428621
mov dword [esp + 0x60], 0
add esp, 0x44
ret
mov dword [esp], 0xafc7c
lea eax, [0xb55550]
mov dword [esp + 4], eax
call fcn.00414140
mov eax, dword [0xb53500]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x428705
mov dword [0xb402cc], ecx
mov ebp, dword [0xb402cc]
test ebp, ebp
jne 0x428497
jmp 0x428736
lea edi, [0xb402cc]
mov eax, ecx
call fcn.00459620
jmp 0x4286f5
mov ebx, 0x20
call fcn.00459730
mov edx, esi
mov ebx, 0x20
call fcn.00459730
mov eax, esi
mov ecx, 0x2bf1f
call fcn.004596a0
lea eax, [0x7f52e6]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00430c90
nop
call fcn.00457de0
jmp fcn.00428470