Function at 0x45b930
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x45bc03
sub esp, 0x18
mov edx, dword [esp + 0x1c]
jmp 0x45b94f
mov edx, eax
test byte [edx], al
mov ebx, dword [edx + 0x1190]
test ebx, ebx
jbe 0x45bbf9
mov eax, dword [edx + 0x118c]
mov eax, dword [eax]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x45bbe3
mov dword [esp + 0x10], eax
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp], ecx
call fcn.00406520
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x45baa4
cmp eax, 1
ja 0x45ba05
test eax, eax
je 0x45baae
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setl bl
xchg esi, ebx
mov edi, dword [esp + 0x20]
cmp edi, ecx
setb bl
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x45bbc3
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 2
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bb8b
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
cmp eax, 2
je 0x45bacf
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 4
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45ba3c
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0045aa30
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 5
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45ba72
call fcn.0045c830
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x119c]
nop
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00406690
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1190]
test ecx, ecx
jne 0x45b94d
jmp 0x45bbcf
cmp eax, 5
ja 0x45babc
cmp eax, 4
je 0x45bacf
call fcn.0045c830
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
cmp eax, 6
je 0x45bb74
cmp eax, 8
jbe 0x45baeb
cmp eax, 9
jne 0x45badd
call fcn.0045c830
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
call fcn.0045c830
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 8], 9
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bb11
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call fcn.0045aa30
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
call fcn.0045a3e0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], 1
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
jne 0x45bb6b
call fcn.0045c830
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
lea eax, [0xa80824]
mov dword [esp], eax
call fcn.0046c200
mov eax, dword [esp + 0x1c]
jmp 0x45b94d
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.0045bc10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
add esp, 0x18
ret
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
add esp, 0x18
ret
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
add esp, 0x18
ret
lea eax, [0xa22a6f]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043d060
xor eax, eax
mov ecx, eax
call fcn.0046d760
nop
call fcn.0046ab20
jmp fcn.0045b930