Function at 0x550458
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x550460
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x55087c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
jne 0x550861
mov eax, dword [ebx + 0x30]
call fcn.0041f4dc
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [edi + 8], 0
jle 0x5504a7
xor edx, edx
mov eax, edi
call fcn.0041f044
mov esi, eax
mov byte [ebp - 1], 1
mov eax, dword [ebx + 0x30]
call fcn.0041f540
cmp byte [ebp - 1], 0
je 0x550861
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x5504c9
call fcn.0054b33c
mov ecx, esi
mov dl, 1
mov eax, dword [0x548eac]
call fcn.0054b028
mov edi, eax
mov dword [ebx + 0x40], edi
xor edx, edx
mov eax, edi
call fcn.0054a7e8
mov edx, 0xea60
mov eax, dword [ebx + 0x40]
call fcn.0054a840
push ebx
push 0x550a70
mov eax, dword [ebx + 0x40]
call fcn.0054b1f0
mov eax, dword [ebx + 0x40]
call fcn.0054b010
cmp byte [esi + 0x26], 0
je 0x550559
mov edx, 0x550894
mov eax, dword [ebx + 0x40]
call fcn.0054ac0c
cmp dword [0x6b36fc], 0
jne 0x550539
lea eax, [ebp - 8]
call fcn.0054fb68
mov edx, dword [ebp - 8]
mov eax, 0x6b36fc
call fcn.00404d00
cmp dword [0x6b36fc], 0
je 0x550566
push 0
mov ecx, dword [0x6b36fc]
mov edx, 0x5508d0
mov eax, dword [ebx + 0x40]
call fcn.0054af70
jmp 0x550566
mov edx, 0x5508e0
mov eax, dword [ebx + 0x40]
call fcn.0054ac0c
push 0
mov eax, esi
call fcn.0055107c
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.0040aedc
mov ecx, dword [ebp - 0xc]
mov edx, 0x550910
mov eax, dword [ebx + 0x40]
call fcn.0054af70
cmp dword [esi + 0x20], 0
je 0x5505a1
push 0
mov ecx, dword [esi + 0x20]
mov edx, 0x55091c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, 0x550928
mov edx, 0x550934
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [0x6b36f0]
mov edx, 0x550940
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 1
lea eax, [ebp - 0x10]
call fcn.0055006c
mov ecx, dword [ebp - 0x10]
mov edx, 0x55094c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
lea edx, [ebp - 0x14]
mov al, byte [esi + 0x25]
call fcn.005502b8
mov ecx, dword [ebp - 0x14]
mov edx, 0x550958
mov eax, dword [ebx + 0x40]
call fcn.0054af70
cmp dword [0x6b36f4], 0
je 0x55061f
push 0
mov ecx, dword [0x6b36f4]
mov edx, 0x550964
mov eax, dword [ebx + 0x40]
call fcn.0054af70
xor eax, eax
mov al, byte [esi + 0x25]
cmp eax, 4
ja case.default.0x55062d
jmp dword [eax*4 + 0x550634]
cmp byte [0x6b3700], 0
jne case.default.0x55062d
push 0
mov ecx, dword [esi + 0x10]
mov edx, 0x550970
mov eax, dword [ebx + 0x40]
call fcn.0054af70
jmp case.default.0x55062d
cmp dword [esi + 0x10], 0
je 0x550684
push 0
mov ecx, dword [esi + 0x10]
mov edx, 0x55097c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
cmp dword [esi + 0x14], 0
je 0x55069c
push 0
mov ecx, dword [esi + 0x14]
mov edx, 0x550988
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x18]
mov edx, 0x550994
mov eax, dword [ebx + 0x40]
call fcn.0054af70
mov eax, dword [esi + 0x1c]
mov edx, 0x5509a0
call fcn.004050c4
je case.default.0x55062d
push 0
mov ecx, dword [esi + 0x1c]
mov edx, 0x5509ac
mov eax, dword [ebx + 0x40]
call fcn.0054af70
jmp case.default.0x55062d
push 0
mov ecx, dword [esi + 0x10]
mov edx, 0x5509b8
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x14]
mov edx, 0x5509c4
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x18]
mov edx, 0x5509d0
mov eax, dword [ebx + 0x40]
call fcn.0054af70
jmp case.default.0x55062d
push 0
mov ecx, dword [esi + 0x10]
mov edx, 0x5509dc
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x14]
mov edx, 0x5509e8
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x1c]
mov edx, 0x5509f4
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x18]
mov edx, 0x550a00
mov eax, dword [ebx + 0x40]
call fcn.0054af70
jmp case.default.0x55062d
push 0
mov ecx, dword [esi + 0x18]
mov edx, 0x550a0c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [esi + 0x1c]
mov edx, 0x550a18
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
lea eax, [ebp - 0x18]
call fcn.005503b0
mov ecx, dword [ebp - 0x18]
mov edx, 0x550a24
mov eax, dword [ebx + 0x40]
call fcn.0054af70
cmp byte [0x6b3700], 0
je 0x55081d
push 0
mov eax, dword [0x698510]
mov eax, dword [eax]
call fcn.00471bc4
lea edx, [ebp - 0x20]
call fcn.0040aeac
push dword [ebp - 0x20]
push 0x550a30
mov eax, dword [0x698510]
mov eax, dword [eax]
call fcn.00471bb8
lea edx, [ebp - 0x24]
call fcn.0040aeac
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405040
mov ecx, dword [ebp - 0x1c]
mov edx, 0x550a3c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 1
mov ecx, dword [0x6b36ec]
mov edx, 0x550a48
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
mov ecx, dword [0x6b36f8]
mov edx, 0x550a54
mov eax, dword [ebx + 0x40]
call fcn.0054af70
cmp byte [esi + 0x24], 0
jne 0x550837
push 0
mov ecx, 0x550928
mov edx, 0x550a60
mov eax, dword [ebx + 0x40]
call fcn.0054af70
push 0
or eax, 0xffffffff
call fcn.004035bc
lea edx, [ebp - 0x28]
call fcn.0040aeac
mov ecx, dword [ebp - 0x28]
mov edx, 0x550a6c
mov eax, dword [ebx + 0x40]
call fcn.0054af70
mov eax, dword [ebx + 0x40]
call fcn.00549e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550883
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00404cd0
ret