Function at 0x4075b0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4078b7
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test ecx, ecx
je 0x4078a0
mov ecx, dword [esp + 0x28]
movzx ebx, byte [ecx + 0xc]
test bl, 1
jne 0x4076a5
movzx ebx, byte [esp + 0x2c]
test bl, bl
je 0x407601
mov dword [esp + 0x30], 0
add esp, 0x20
ret
mov ecx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00452070
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00452960
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
lea edx, [0x7a3760]
mov dword [esp], edx
call fcn.0040a9b0
mov eax, dword [esp + 4]
mov ecx, dword [0xb53500]
test ecx, ecx
jne 0x407687
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xb53500]
test ecx, ecx
jne 0x407674
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, eax
jmp 0x40788e
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x1c]
call fcn.00459620
jmp 0x40788e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x28]
call fcn.00459620
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.00459620
mov eax, ecx
jmp 0x407655
lea eax, [0xb3b084]
mov dword [esp], eax
call fcn.00401fd0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004078d0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x407795
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x40778d
movzx ecx, byte [esp + 0x2c]
test cl, cl
je 0x4076fb
mov dword [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp], eax
call fcn.00407b10
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
lea edx, [0x7a3760]
mov dword [esp], edx
call fcn.0040a9b0
mov eax, dword [esp + 4]
mov ecx, dword [0xb53500]
test ecx, ecx
jne 0x40776f
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xb53500]
test ecx, ecx
jne 0x40775c
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, eax
jmp 0x40787c
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x1c]
call fcn.00459620
jmp 0x40787c
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x28]
call fcn.00459620
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.00459620
mov eax, ecx
jmp 0x40773d
mov dword [esp + 0x30], eax
add esp, 0x20
ret
lea eax, [0xb532c4]
mov dword [esp], eax
call fcn.004089b0
mov eax, dword [0xb3b084]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004078d0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4077e4
mov dword [esp + 0x14], eax
lea eax, [0xb532c4]
mov dword [esp], eax
call fcn.00408b90
mov eax, dword [esp + 0x14]
jmp 0x4076db
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x28]
dec ecx
shl ecx, 2
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0
lea ecx, [0xb55560]
mov dword [esp + 8], ecx
call fcn.0040ad90
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0xb53500]
test eax, eax
jne 0x40785f
mov eax, dword [esp + 0x24]
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [esp + 0x18], edi
mov dword [edi + 8], 0
mov dword [esp], edi
call fcn.00407b10
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00407980
lea eax, [0xb532c4]
mov dword [esp], eax
call fcn.00408b90
mov eax, dword [esp + 0x18]
jmp 0x4076db
mov eax, dword [esp + 0x24]
call fcn.00459620
lea ecx, [edi + 4]
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x28]
call fcn.00459620
mov edi, edx
jmp 0x407829
lea eax, [0x78a6e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00430590
lea eax, [0x78a6e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00430590
lea eax, [0x7f5172]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00430c90
nop
call fcn.00457de0
jmp fcn.004075b0