Function at 0x4b9a80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x50cccc]
mov edx, dword [eax + 0xc]
push ebx
push esi
push edi
mov ecx, 0x50cccc
call edx
mov esi, eax
mov eax, dword [0x50cccc]
mov edx, dword [eax + 0xc]
add esi, 0x10
mov ecx, 0x50cccc
mov dword [esp + 0x14], esi
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
call fcn.0049f590
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov eax, dword [edi + 0x40]
sub eax, 0x10
mov dword [esp + 0x3c], 0
call fcn.00401650
add eax, 0x10
push 3
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x38]
push eax
call fcn.0044a6e0
push 0x4f7b5c
lea ecx, [esp + 0x34]
push ecx
mov eax, 0x4ea330
call fcn.0044b080
push 0x4f7c8c
lea edx, [esp + 0x34]
mov dword [esp + 0x1c], eax
push edx
mov eax, 0x4ea330
call fcn.0044b270
test eax, eax
jne 0x4b9b39
xor ecx, ecx
jmp 0x4b9b4f
mov ecx, eax
lea ebx, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b9b40
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [edi + 0x1c]
call fcn.00401c70
xor ebx, ebx
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
jle 0x4b9c58
lea ebx, [ebx]
mov eax, dword [0x50cccc]
mov edx, dword [eax + 0xc]
mov ecx, 0x50cccc
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push eax
push 0x4f7ca4
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0041f070
mov esi, dword [esp + 0x1c]
add esp, 8
push 0x4f7cb4
lea ecx, [esp + 0x34]
push ecx
mov eax, esi
call fcn.0044b270
test eax, eax
jne 0x4b9bc1
xor ecx, ecx
jmp 0x4b9bd5
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b9bc6
sub ecx, edi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x28]
call fcn.00401c70
push 0x4f7cc0
lea edx, [esp + 0x34]
push edx
mov eax, esi
call fcn.0044b080
mov dword [esp + 0x2c], eax
push 0x4f7cd0
lea eax, [esp + 0x34]
push eax
mov eax, esi
call fcn.0044b080
mov edi, dword [esp + 0x24]
cmp dword [edi - 0xc], 0
mov dword [esp + 0x28], eax
je 0x4b9c22
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
call fcn.004ba230
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b9c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x4b9b70
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x4b9c7a
mov ecx, dword [edi + 0x28]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4b9dd1
mov edx, dword [edi + 0x1c]
cmp dword [edx - 0xc], 0
lea ebx, [edi + 0x1c]
je 0x4b9dd1
mov eax, dword [0x50cccc]
mov edx, dword [eax + 0xc]
mov ecx, 0x50cccc
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, ebx
lea edi, [esp + 0x24]
call fcn.0041f120
mov eax, edi
mov ebx, 1
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.004ba230
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9ced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b9d39
mov ecx, dword [edi + 0x28]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jne 0x4b9d39
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b9d2e
mov ecx, dword [edi + 0x28]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4b9d33
call fcn.004bea52
mov edx, dword [edi + 0x24]
mov dword [edx + 8], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edi, ecx
push edx
push edi
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044c1b0
mov edx, dword [esp + 0x38]
push edx
call fcn.004bef97
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9daa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9dc6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
jmp 0x4b9cf0