Function at 0x500288
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x500290
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f60
xor eax, eax
push ebp
push 0x500b3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c7d0]
call fcn.00403c14
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404b48
lea eax, [ebp - 0x1c]
call fcn.00404ab0
lea eax, [ebp - 0x10]
mov edx, 0x500b54
call fcn.00404b48
push dword [ebp - 0x10]
push 0x500b60
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500b7c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500b8c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500b98
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500ba4
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500bb4
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500bd8
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500bec
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500bfc
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c0c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c1c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c2c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c3c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c4c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c5c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c6c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c7c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c8c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500c9c
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500cac
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500cc0
push dword [ebp - 0x10]
push 0x500b70
push dword [ebp - 0x10]
push 0x500cd0
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x18]
mov edx, 0x58
call fcn.00404e30
push dword [ebp - 0x10]
call fcn.0040cd28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x500ce0
call fcn.0040d9d0
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
call fcn.0040cd28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x24]
call fcn.0040d9a4
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x378]
call fcn.00445d0c
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x37c]
call fcn.00445d0c
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x384]
call fcn.00445d0c
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x380]
call fcn.00445d0c
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov eax, ebx
call fcn.004fc6e4
push dword [ebp - 0x34]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x3f0]
call fcn.00445d0c
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x388]
call fcn.00445d0c
push dword [ebp - 0x40]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x38c]
call fcn.00445d0c
push dword [ebp - 0x44]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x390]
call fcn.00445d0c
push dword [ebp - 0x48]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x394]
call fcn.00445d0c
push dword [ebp - 0x4c]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x3b4]
call fcn.00445d0c
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x50]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x3b8]
call fcn.00445d0c
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x58]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x3bc]
call fcn.00445d0c
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x60]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00445d0c
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x68]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x3dc]
call fcn.00445d0c
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x70]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x408]
call fcn.00445d0c
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x78]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
push dword [ebx + 0x438]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.0050107c
push dword [ebp - 0x80]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.0040b7ec
push dword [ebp - 0x84]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x8c]
mov eax, dword [0x50c26c]
mov eax, dword [eax]
call fcn.00466000
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov eax, ebx
call fcn.004fac0c
push dword [ebp - 0x88]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
push dword [ebp - 0x10]
lea edx, [ebp - 0x94]
mov eax, dword [ebx + 0x420]
call fcn.00445d0c
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov eax, ebx
call fcn.004fd63c
push dword [ebp - 0x90]
push dword [ebp - 0x10]
push 0x500b70
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e30
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404d78
lea eax, [ebp - 0x14]
call fcn.00404ab0
xor eax, eax
push ebp
push 0x500a73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040b708
test al, al
je 0x500a30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x500a47
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500a7a
mov eax, dword [ebp - 8]
call fcn.00403c44
ret