Function at 0x41f590
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f998
sub esp, 0x48
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x18]
movsd xmm0, qword [0xb44de8]
movsd qword [esp + 0x38], xmm0
inc dword [ecx + 0x78]
lea ecx, [0xb44d8c]
mov dword [esp], ecx
call fcn.00401fc0
mov eax, dword [esp + 4]
test eax, eax
jne 0x41f8c8
lea eax, [0xb44d90]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [0xb44d88]
mov dword [esp + 0x14], eax
jmp 0x41f60c
mov eax, ebx
shr eax, 1
and eax, 1
dec eax
neg eax
cmp eax, 2
jae 0x41f98d
lea eax, [eax + eax*4]
lea ecx, [0xb44da0]
lea eax, [ecx + eax*4]
mov dword [esp], eax
call fcn.004206f0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
test eax, eax
je 0x41f8a7
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.00401ff0
movzx eax, byte [esp + 4]
cmp al, 1
je 0x41f671
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0x30]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
je 0x41f60a
lea ebp, [ebx + 3]
cmp ebp, edx
je 0x41f60a
jmp 0x41f8de
mov edx, dword [esp + 0x14]
lea ebx, [edx - 2]
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x30], ebx
je 0x41f87f
xor eax, eax
test al, al
jne 0x41f692
mov ebx, edx
jmp 0x41f60a
test ebp, ebp
jne 0x41f83c
mov eax, 0xffffffff
mov dword [esp + 0x18], eax
lea ecx, [0xb44d90]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.004020f0
mov eax, dword [esp + 8]
test eax, eax
je 0x41f820
xor eax, eax
test al, al
je 0x41f6d5
mov eax, dword [0xb53654]
test eax, eax
jg 0x41f6eb
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
add esp, 0x48
ret
mov eax, dword [0xb56b00]
mov dword [esp + 0x34], eax
mov ecx, dword [0xb44de0]
mov dword [esp + 0x30], ecx
sub eax, ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [0xb56b04]
mov dword [esp + 0x28], ebx
mov ebp, dword [0xb44de4]
mov dword [esp + 0x24], ebp
mov esi, dword [0xb44dd4]
mov dword [esp + 0x20], esi
mov edi, dword [0xb44dd0]
mov dword [esp + 0x1c], edi
call fcn.00432510
lea eax, [0x7f522c]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00432db0
mov eax, dword [esp + 0x34]
shr eax, 0x14
mov edx, dword [esp + 0x28]
mov ebx, edx
shl edx, 0xc
or edx, eax
mov dword [esp], edx
shr ebx, 0x14
mov dword [esp + 4], ebx
call fcn.00432ac0
lea eax, [0x7e88cb]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00432db0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sbb eax, ecx
mov ecx, eax
shl eax, 0xc
mov edx, dword [esp + 0x2c]
shr edx, 0x14
or edx, eax
mov dword [esp], edx
shr ecx, 0x14
mov dword [esp + 4], ecx
call fcn.00432ac0
lea eax, [0x7ef5f9]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432db0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00432ac0
lea eax, [0x7e5458]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432db0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
call fcn.004327d0
lea eax, [0x7e6ab7]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00432db0
call fcn.00432580
jmp 0x41f6d5
lea eax, [0xb44d8c]
mov dword [esp], eax
call fcn.00401fc0
mov eax, dword [esp + 4]
test eax, eax
setne al
jmp 0x41f6c7
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp], ebp
mov byte [esp + 4], 0
call fcn.0041fac0
movzx eax, byte [esp + 8]
test al, al
jne 0x41f860
xor eax, eax
jmp 0x41f69f
lea eax, [0xb44e00]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00402070
mov eax, dword [esp + 0x18]
jmp 0x41f69f
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [edx - 1]
mov dword [esp + 8], eax
call fcn.00402000
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
jmp 0x41f687
lea eax, [0xb44d8c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021b0
mov ebp, dword [esp + 0x40]
test ebp, ebp
jmp 0x41f694
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x48
ret
mov byte [esp + 0x13], al
mov dword [esp + 0x34], edx
call fcn.00432510
lea eax, [0x7f1f48]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.00432db0
movzx eax, byte [esp + 0x13]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7e6adb]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00432db0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7e54a8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432db0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
call fcn.00432730
call fcn.00432580
lea eax, [0x7f520d]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00430c90
mov ecx, 2
call fcn.004596b0
nop
call fcn.00457de0
jmp fcn.0041f590