Function at 0x4b152f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x48
push ecx
push edi
mov eax, 0xcccccccc
lea edi, [esp + 8]
mov ecx, 0x12
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x4c], ecx
cmp byte [0x4f005d], 0
jne 0x4b1445
mov byte [0x4f005c], 0
mov byte [0x4f005d], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.004b4890
mov dword [ebp - 0x48], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.004b4810
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
movsx ebx, word [eax + 2]
mov eax, dword [ebp + 0xc]
movsx edx, word [eax + 6]
sub edx, ebx
add edx, 0xfffffffc
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp edx, 4
ja case.0x4b1488.0
jmp dword [edx*4 + 0x4e4378]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
jmp 0x4b1760
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x4b14b1
mov ecx, dword [ebp - 0x2c]
call fcn.0040b9a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f740
mov edx, dword [ebp - 0x3c]
sub edx, eax
cmp edx, 0x80000000
sbb edx, 0xffffffff
sar edx, 1
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x2c], 0
je 0x4b1760
mov ecx, dword [ebp - 0x2c]
call fcn.0040b9e0
jmp 0x4b1760
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x4b1501
mov ecx, dword [ebp - 0x28]
call fcn.0040b9a0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f740
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x28], 0
je 0x4b1760
mov ecx, dword [ebp - 0x28]
call fcn.0040b9e0
jmp 0x4b1760
cmp byte [0x4f005c], 0
jne 0x4b155b
push 1
lea eax, [ebp - 0x31]
push eax
push 0xe
push 0x400
call dword [0x4ea76c]
mov byte [0x4f005c], 1
mov dl, byte [ebp - 0x31]
mov byte [0x4f005e], dl
mov dword [ebp - 0x30], 0
push 1
push 0x4f005e
lea ecx, [ebp - 0x30]
call fcn.0040bb00
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x4b1588
mov ecx, dword [ebp - 0x24]
call fcn.0040b9a0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4b159c
mov ecx, dword [ebp - 0x20]
call fcn.0040b9a0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.0043fad0
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x20], 0
je 0x4b15bf
mov ecx, dword [ebp - 0x20]
call fcn.0040b9e0
cmp dword [ebp - 0x24], 0
je 0x4b15cd
mov ecx, dword [ebp - 0x24]
call fcn.0040b9e0
cmp dword [ebp - 0x38], 0
jl 0x4b1716
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x4b15ee
mov ecx, dword [ebp - 0x1c]
call fcn.0040b9a0
push dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040bed0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f740
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x18], 0
je 0x4b1626
mov ecx, dword [ebp - 0x18]
call fcn.0040b9e0
cmp dword [ebp - 0x1c], 0
je 0x4b1634
mov ecx, dword [ebp - 0x1c]
call fcn.0040b9e0
cmp dword [ebp - 0x48], 0
jle 0x4b163f
mov edx, dword [ebp - 0x48]
jmp 0x4b1644
mov edx, 0
cmp dword [ebp - 0x40], edx
jge 0x4b165c
cmp dword [ebp - 0x48], 0
jle 0x4b1654
mov edx, dword [ebp - 0x48]
jmp 0x4b1659
mov edx, 0
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4b1673
mov ecx, dword [ebp - 0x14]
call fcn.0040b9a0
mov eax, dword [ebp - 0x38]
dec eax
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bed0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f740
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 6]
cmp eax, edx
setle bl
cmp dword [ebp - 0x10], 0
je 0x4b16b1
mov ecx, dword [ebp - 0x10]
call fcn.0040b9e0
cmp dword [ebp - 0x14], 0
je 0x4b16bf
mov ecx, dword [ebp - 0x14]
call fcn.0040b9e0
cmp bl, 0
je 0x4b1752
mov dword [ebp - 0xc], 0
push 0x4e4308
call fcn.0040ca30
pop ecx
push eax
push 0x4e4308
lea ecx, [ebp - 0xc]
call fcn.0040bb00
cmp dword [ebp - 0xc], 0
je 0x4b16fa
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x4bf2dc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.0040bbd0
cmp dword [ebp - 0xc], 0
je 0x4b1752
mov ecx, dword [ebp - 0xc]
call fcn.0040b9e0
jmp 0x4b1752
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4b172d
mov ecx, dword [ebp - 8]
call fcn.0040b9a0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f740
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 8], 0
je 0x4b1752
mov ecx, dword [ebp - 8]
call fcn.0040b9e0
cmp dword [ebp - 0x30], 0
je 0x4b1760
mov ecx, dword [ebp - 0x30]
call fcn.0040b9e0
cmp dword [ebp - 0x48], 0
jle 0x4b176b
mov edx, dword [ebp - 0x48]
jmp 0x4b1770
mov edx, 0
cmp dword [ebp - 0x40], edx
jge 0x4b1788
cmp dword [ebp - 0x48], 0
jle 0x4b1780
mov edx, dword [ebp - 0x48]
jmp 0x4b1785
mov edx, 0
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 0x18