Function at 0x798e34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x130], eax
xor eax, eax
push ebp
push 0x79925f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1ec]
xor edx, edx
call fcn.004340a4
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1f0]
mov edx, 0x799274
call fcn.004340a4
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x204]
mov edx, 0x799284
call fcn.004340a4
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1f4]
xor edx, edx
call fcn.004340a4
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1f8]
xor edx, edx
call fcn.004340a4
lea edx, [ebp - 0xc]
mov eax, dword [0x841400]
call fcn.00405e74
mov edx, dword [ebp - 0xc]
mov eax, dword [0x8408a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1fc]
call fcn.004340a4
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004094a8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10c]
mov ecx, 0xff
call fcn.004040cc
lea edx, [ebp - 0x10c]
lea eax, [ebp - 8]
mov cl, 3
call fcn.00402d1c
mov edx, 0x799298
lea eax, [ebp - 0x114]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x114]
mov cl, 4
call fcn.00402cd0
lea edx, [ebp - 0x114]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x79929c
lea eax, [ebp - 0x114]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x114]
mov cl, 4
call fcn.00402cd0
lea edx, [ebp - 0x114]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x7992a0
lea eax, [ebp - 0x120]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x120]
mov cl, 0xa
call fcn.00402cd0
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
mov dl, 1
call fcn.0079892c
mov edx, 0x7992a8
lea eax, [ebp - 0x12c]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x12c]
mov cl, 9
call fcn.00402cd0
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x7992b0
lea eax, [ebp - 0x12c]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x12c]
mov cl, 9
call fcn.00402cd0
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00798a4c
lea eax, [ebp - 0xc]
mov edx, 0xcb270f
call fcn.00404094
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x7992b8
lea eax, [ebp - 0x13c]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x13c]
mov cl, 8
call fcn.00402cd0
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x130]
call fcn.00404094
mov eax, dword [ebp - 0x130]
pop edx
call fcn.007989e4
mov edx, 0x7992c0
lea eax, [ebp - 0x120]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x120]
mov cl, 0xa
call fcn.00402cd0
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x7992c8
lea eax, [ebp - 0x120]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x120]
mov cl, 0xa
call fcn.00402cd0
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00798a4c
lea eax, [ebp - 0xc]
mov edx, 0xcb2711
call fcn.00404094
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x7992d0
lea eax, [ebp - 0x12c]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x12c]
mov cl, 9
call fcn.00402cd0
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x130]
call fcn.00404094
mov eax, dword [ebp - 0x130]
pop edx
call fcn.007989e4
mov edx, 0x7992d8
lea eax, [ebp - 0x144]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x144]
mov cl, 7
call fcn.00402cd0
lea edx, [ebp - 0x144]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x7992e0
lea eax, [ebp - 0x120]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x120]
mov cl, 0xa
call fcn.00402cd0
lea edx, [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
mov edx, 0x7992e8
lea eax, [ebp - 0x150]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x150]
mov cl, 0xb
call fcn.00402cd0
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.007989e4
lea eax, [ebp - 0xc]
mov edx, 0xcb270f
call fcn.00404094
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x7992f4
lea eax, [ebp - 0x13c]
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x13c]
mov cl, 8
call fcn.00402cd0
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x130]
call fcn.00404094
mov eax, dword [ebp - 0x130]
pop edx
call fcn.007989e4
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
jne 0x798ee9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x799266
lea eax, [ebp - 0x130]
call fcn.00403e74
lea eax, [ebp - 0xc]
call fcn.00403e74
ret