Function at 0x58b544
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x58b54d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fb0
mov eax, dword [ebp - 0x28]
call fcn.0040a524
mov eax, dword [ebp - 8]
call fcn.00406fb0
mov eax, dword [ebp + 8]
call fcn.00406fb0
xor eax, eax
push ebp
push 0x58baab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x436488]
call fcn.00442ee8
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x58ba21
push dword fs:[edx]
mov dword fs:[edx], esp
push dword [ebp - 4]
push 0x58bac8
lea ecx, [ebp - 0x4c]
mov edx, 0x58bb2c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0057b4d8
push dword [ebp - 0x48]
push 0x58bb48
lea edx, [ebp - 0x50]
xor eax, eax
call fcn.00562a90
push dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00407d64
lea ecx, [ebp - 0x54]
mov edx, 0xea60
mov eax, dword [ebp - 0xc]
call fcn.00562780
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x2c]
call fcn.00501b4c
lea ecx, [ebp - 0x58]
mov edx, 0x58bb60
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x58]
mov edx, 0x58bb78
call fcn.00407e14
jne 0x58b9cb
push dword [ebp - 4]
push 0x58bb88
lea ecx, [ebp - 0x60]
mov edx, 0x58bbe8
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0057b4d8
push dword [ebp - 0x5c]
push 0x58bc00
lea ecx, [ebp - 0x68]
mov edx, 0x58bb2c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0057b4d8
push dword [ebp - 0x64]
push 0x58bc20
lea edx, [ebp - 0x6c]
xor eax, eax
call fcn.00562a90
push dword [ebp - 0x6c]
lea eax, [ebp - 0xc]
mov edx, 7
call fcn.00407d64
xor eax, eax
push ebp
push 0x58b6c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
mov edx, 0xea60
mov eax, dword [ebp - 0xc]
call fcn.00562780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58b708
lea ecx, [ebp - 0x74]
mov edx, 0x58bb2c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0058b390
mov eax, dword [ebp - 0x14]
call fcn.005887f8
lea ecx, [ebp - 0x78]
mov edx, 0x58bca8
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov ebx, dword [ebp - 0x78]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x58bcd8
mov edx, 0x58bce8
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp - 0x7c]
call fcn.0044d2e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jne 0x58b791
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea ecx, [ebp - 0x1c]
mov edx, 1
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x58b7a1
lea eax, [ebp - 0x18]
call fcn.00406ecc
lea eax, [ebp - 0x1c]
call fcn.00406ecc
lea ecx, [ebp - 0x80]
mov edx, 0x58bcf8
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x10]
mov edx, 0x58bd14
mov ebx, dword [eax]
call dword [ebx + 0x4c]
cmp dword [ebp - 0x10], 0
jne 0x58b7dd
mov ecx, 0x58bd44
mov dl, 1
mov eax, dword [0x4170a0]
call fcn.0042257c
call fcn.0040661c
xor edx, edx
push ebp
push 0x58b830
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x84]
mov edx, 0x58bd70
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0058adf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58ba0b
lea ecx, [ebp - 0xa0]
mov edx, 0x58bdd0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x58bdec
call fcn.00407cdc
mov ecx, dword [ebp - 0x9c]
mov dl, 1
mov eax, dword [0x4170a0]
call fcn.0042257c
call fcn.0040661c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ba28
mov eax, dword [ebp - 0x34]
call fcn.004053e8
ret