Function at 0x59bea8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x59beb1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040452c
xor eax, eax
push ebp
push 0x59c395
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x59c368
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4143bc]
call fcn.00403284
mov dword [ebp - 0x10], eax
mov edx, 0x59c3b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00404300
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x59c3d0
call fcn.004043c4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jl 0x59bfea
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0x20]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x24], 0
je 0x59bfe0
test esi, esi
jne 0x59bfad
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x20]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x59c3e4
call fcn.004043c4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x59bfe0
lea ecx, [ebp - 0x3c]
mov eax, dword [ebx + 0x20]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x59c3fc
call fcn.004043c4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec dword [ebp - 0x14]
jne 0x59bf61
lea eax, [ebp - 0x48]
lea edx, [ebx + 0x24]
call fcn.00404300
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x59c40c
call fcn.004043c4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x54]
lea edx, [ebx + 0x34]
call fcn.00404300
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x59c420
call fcn.004043c4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x5c]
lea edx, [ebx + 0x44]
call fcn.00404300
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040bd9c
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x648]
call fcn.00404488
je 0x59c0a8
lea eax, [ebp - 0x68]
lea edx, [ebx + 0x44]
call fcn.00404300
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x59c434
call fcn.004043c4
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x59c0b5
mov edx, 0x59c434
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x74]
lea edx, [ebx + 0x63]
call fcn.00404300
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x59c44c
call fcn.004043c4
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x80]
lea edx, [ebx + 0x73]
call fcn.00404300
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x59c464
call fcn.004043c4
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x8c]
lea edx, [ebx + 0x83]
call fcn.00404300
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x59c47c
call fcn.004043c4
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x98]
lea edx, [ebx + 0x93]
call fcn.00404300
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0040bd9c
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x59c494
call fcn.004043c4
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xa4]
lea edx, [ebx + 0xa3]
call fcn.00404300
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x59c4b0
call fcn.004043c4
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xb0]
lea edx, [ebx + 0xc2]
call fcn.00404300
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x59c4c8
call fcn.004043c4
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xbc]
lea edx, [ebx + 0xff]
call fcn.00404300
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x59c4e8
call fcn.004043c4
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xc8]
lea edx, [ebx + 0x1a4]
call fcn.00404300
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, 0x59c504
call fcn.004043c4
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xd4]
lea edx, [ebx + 0x1c3]
call fcn.00404300
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
mov edx, 0x59c520
call fcn.004043c4
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xe0]
lea edx, [ebx + 0x1ec]
call fcn.00404300
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.0040bd9c
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd8]
mov edx, 0x59c53c
call fcn.004043c4
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59c36f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x10]
call fcn.004032b4
ret