Function at 0x512440
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2226
jg 0x5125c8
cmp dword [ebp - 4], 0x2226
je 0x512e76
cmp dword [ebp - 4], 0x2130
jg 0x51259e
cmp dword [ebp - 4], 0x2130
je 0x512a34
cmp dword [ebp - 4], 0x2094
jg 0x512574
cmp dword [ebp - 4], 0x2094
je 0x51280e
cmp dword [ebp - 4], 0x2054
jg 0x51254d
cmp dword [ebp - 4], 0x2054
je 0x512700
cmp dword [ebp - 4], 0x1019
jg 0x5124f0
cmp dword [ebp - 4], 0x1019
je 0x512674
mov ecx, dword [ebp - 4]
sub ecx, 0x1000
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x18
ja case.0x5125c1.108
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x513702]
jmp dword [edx*4 + 0x5136ca]
cmp dword [ebp - 4], 0x2040
jg 0x512526
cmp dword [ebp - 4], 0x2040
je 0x5126ba
mov ecx, dword [ebp - 4]
sub ecx, 0x101a
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 9
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
jmp dword [edx*4 + 0x51371b]
mov eax, dword [ebp - 4]
sub eax, 0x2041
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x51375f]
jmp dword [ecx*4 + 0x513743]
mov eax, dword [ebp - 4]
sub eax, 0x2055
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3e
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x5137de]
jmp dword [ecx*4 + 0x513772]
mov eax, dword [ebp - 4]
sub eax, 0x2095
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x93
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x5138f9]
jmp dword [ecx*4 + 0x51381d]
mov eax, dword [ebp - 4]
sub eax, 0x2131
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf4
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x513b41]
jmp dword [ecx*4 + 0x51398d]
mov eax, dword [ebp - 4]
sub eax, 0x2227
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x29d
ja case.0x5125c1.108
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [edx + 0x513f9e]
jmp dword [ecx*4 + 0x513c36]
mov eax, str.keyDown
jmp 0x5136c6
mov eax, str.keyUp
jmp 0x5136c6
mov eax, str.rawKeyDown
jmp 0x5136c6
mov eax, str.char
jmp 0x5136c6
mov eax, str.mousePressed
jmp 0x5136c6
mov eax, str.mouseReleased
jmp 0x5136c6
mov eax, str.mouseMoved
jmp 0x5136c6
mov eax, str.mouseWheel
jmp 0x5136c6
mov eax, 0x7c4b68
jmp 0x5136c6
mov eax, 0x7c4b60
jmp 0x5136c6
mov eax, 0x7c4b58
jmp 0x5136c6
mov eax, 0x7c4b50
jmp 0x5136c6
mov eax, str.back
jmp 0x5136c6
mov eax, str.forward
jmp 0x5136c6
mov eax, str.mouse
jmp 0x5136c6
mov eax, 0x7c4b34
jmp 0x5136c6
mov eax, str.TouchStart
jmp 0x5136c6
mov eax, str.touchEnd
jmp 0x5136c6
mov eax, str.touchMove
jmp 0x5136c6
mov eax, str.touchCancel
jmp 0x5136c6
mov eax, str.granted
jmp 0x5136c6
mov eax, str.denied
jmp 0x5136c6
mov eax, str.prompt
jmp 0x5136c6
mov eax, str.accessibilityEvents
jmp 0x5136c6
mov eax, str.audioCapture
jmp 0x5136c6
mov eax, str.backgroundSync
jmp 0x5136c6
mov eax, str.backgroundFetch
jmp 0x5136c6
mov eax, str.clipboardReadWrite
jmp 0x5136c6
mov eax, str.clipboardSanitizedWrite
jmp 0x5136c6
mov eax, str.durableStorage
jmp 0x5136c6
mov eax, str.flash
jmp 0x5136c6
mov eax, str.geolocation
jmp 0x5136c6
mov eax, str.midi
jmp 0x5136c6
mov eax, str.midiSysex
jmp 0x5136c6
mov eax, 0x7c4a40
jmp 0x5136c6
mov eax, str.notifications
jmp 0x5136c6
mov eax, str.paymentHandler
jmp 0x5136c6
mov eax, str.periodicBackgroundSync
jmp 0x5136c6
mov eax, str.protectedMediaIdentifier
jmp 0x5136c6
mov eax, str.sensors
jmp 0x5136c6
mov eax, str.videoCapture
jmp 0x5136c6
mov eax, str.idleDetection
jmp 0x5136c6
mov eax, str.wakeLockScreen
jmp 0x5136c6
mov eax, str.wakeLockSystem
jmp 0x5136c6
mov eax, 0x7c499c
jmp 0x5136c6
mov eax, str.minimized
jmp 0x5136c6
mov eax, str.maximized
jmp 0x5136c6
mov eax, str.fullscreen
jmp 0x5136c6
mov eax, 0x7c496c
jmp 0x5136c6
mov eax, str.WebAssembly
jmp 0x5136c6
mov eax, str.first_line
jmp 0x5136c6
mov eax, str.first_letter
jmp 0x5136c6
mov eax, str.before
jmp 0x5136c6
mov eax, str.after
jmp 0x5136c6
mov eax, str.marker
jmp 0x5136c6
mov eax, str.backdrop
jmp 0x5136c6
mov eax, str.selection
jmp 0x5136c6
mov eax, str.first_line_inherited
jmp 0x5136c6
mov eax, 0x7c48f0
jmp 0x5136c6
mov eax, str.scrollbar_thumb
jmp 0x5136c6
mov eax, str.scrollbar_button
jmp 0x5136c6
mov eax, str.scrollbar_track
jmp 0x5136c6
mov eax, str.scrollbar_track_piece
jmp 0x5136c6
mov eax, str.scrollbar_corner
jmp 0x5136c6
mov eax, str.resizer
jmp 0x5136c6
mov eax, str.input_list_button
jmp 0x5136c6
mov eax, 0x7c4868
jmp 0x5136c6
mov eax, 0x7c4860
jmp 0x5136c6
mov eax, str.closed
jmp 0x5136c6
mov eax, str.subtree_modified
jmp 0x5136c6
mov eax, str.attribute_modified
jmp 0x5136c6
mov eax, str.node_removed
jmp 0x5136c6
mov eax, str.advance
jmp 0x5136c6
mov eax, str.pause
jmp 0x5136c6
mov eax, str.pauseIfNetworkFetchesPending
jmp 0x5136c6
mov eax, 0x7c4b68
jmp 0x5136c6
mov eax, 0x7c4b60
jmp 0x5136c6
mov eax, 0x7c4b58
jmp 0x5136c6
mov eax, 0x7c4b50
jmp 0x5136c6
mov eax, str.back
jmp 0x5136c6
mov eax, str.forward
jmp 0x5136c6
mov eax, str.default
jmp 0x5136c6
mov eax, str.touch
jmp 0x5136c6
mov eax, str.mouse
jmp 0x5136c6
mov eax, str.other
jmp 0x5136c6
mov eax, 0x7c47d4
jmp 0x5136c6
mov eax, str.mixed_content
jmp 0x5136c6
mov eax, str.origin
jmp 0x5136c6
mov eax, str.inspector
jmp 0x5136c6
mov eax, str.subresource_filter
jmp 0x5136c6
mov eax, str.content_type
jmp 0x5136c6
mov eax, str.collapsed_by_client
jmp 0x5136c6
mov eax, str.coep_frame_resource_needs_coep_header
jmp 0x5136c6
mov eax, str.coop_sandboxed_iframe_cannot_navigate_to_coop_page
jmp 0x5136c6
mov eax, str.corp_not_same_origin
jmp 0x5136c6
mov eax, str.corp_not_same_origin_after_defaulted_to_same_origin_by_coep
jmp 0x5136c6
mov eax, str.corp_not_same_site
jmp 0x5136c6
mov eax, str.unknown
jmp 0x5136c6
mov eax, str.not_compliant
jmp 0x5136c6
mov eax, str.compliant
jmp 0x5136c6
mov eax, 0x7c4b68
jmp 0x5136c6
mov eax, str.cellular2g
jmp 0x5136c6
mov eax, str.cellular3g
jmp 0x5136c6
mov eax, str.cellular4g
jmp 0x5136c6
mov eax, str.bluetooth
jmp 0x5136c6
mov eax, str.ethernet
jmp 0x5136c6
mov eax, str.wifi
jmp 0x5136c6
mov eax, str.wimax
jmp 0x5136c6
mov eax, str.other
jmp 0x5136c6
mov eax, str.Strict
jmp 0x5136c6
mov eax, 0x7c4638
jmp 0x5136c6
mov eax, str.None
jmp 0x5136c6
mov eax, str.Failed
jmp 0x5136c6
mov eax, str.Aborted
jmp 0x5136c6
mov eax, str.TimedOut
jmp 0x5136c6
mov eax, str.AccessDenied
jmp 0x5136c6
mov eax, str.ConnectionClosed
jmp 0x5136c6
mov eax, str.ConnectionReset
jmp 0x5136c6
mov eax, str.ConnectionRefused
jmp 0x5136c6
mov eax, str.ConnectionAborted
jmp 0x5136c6
mov eax, str.ConnectionFailed
jmp 0x5136c6
mov eax, str.NameNotResolved
jmp 0x5136c6
mov eax, str.InternetDisconnected
jmp 0x5136c6
mov eax, str.AddressUnreachable
jmp 0x5136c6
mov eax, str.BlockedByClient
jmp 0x5136c6
mov eax, str.BlockedByResponse
jmp 0x5136c6
mov eax, str.VeryLow
jmp 0x5136c6
mov eax, 0x7c4538
jmp 0x5136c6
mov eax, str.Medium
jmp 0x5136c6
mov eax, str.High
jmp 0x5136c6
mov eax, str.VeryHigh
jmp 0x5136c6
mov eax, str.Document
jmp 0x5136c6
mov eax, str.Stylesheet
jmp 0x5136c6
mov eax, str.Image
jmp 0x5136c6
mov eax, str.Media
jmp 0x5136c6
mov eax, str.Font
jmp 0x5136c6
mov eax, str.Script
jmp 0x5136c6
mov eax, str.TextTrack
jmp 0x5136c6
mov eax, 0x7c44d4
jmp 0x5136c6
mov eax, str.Fetch
jmp 0x5136c6
mov eax, str.EventSource
jmp 0x5136c6
mov eax, str.WebSocket
jmp 0x5136c6
mov eax, str.Manifest
jmp 0x5136c6
mov eax, str.SignedExchange
jmp 0x5136c6
mov eax, str.Ping
jmp 0x5136c6
mov eax, str.CSPViolationReport
jmp 0x5136c6
mov eax, str.Other
jmp 0x5136c6
mov eax, str.cache_storage
jmp 0x5136c6
mov eax, str.http_cache
jmp 0x5136c6
mov eax, str.fallback_code
jmp 0x5136c6
mov eax, str.network
jmp 0x5136c6
mov eax, str.SecureOnly
jmp 0x5136c6
mov eax, str.NotOnPath
jmp 0x5136c6
mov eax, str.DomainMismatch
jmp 0x5136c6
mov eax, str.SameSiteStrict
jmp 0x5136c6
mov eax, str.SameSiteLax
jmp 0x5136c6
mov eax, str.SameSiteUnspecifiedTreatedAsLax
jmp 0x5136c6
mov eax, str.SameSiteNoneInsecure
jmp 0x5136c6
mov eax, str.UserPreferences
jmp 0x5136c6
mov eax, str.UnknownError
jmp 0x5136c6
mov eax, 0x7c4538
jmp 0x5136c6
mov eax, str.Medium
jmp 0x5136c6
mov eax, str.High
jmp 0x5136c6
mov eax, str.Request
jmp 0x5136c6
mov eax, str.HeadersReceived
jmp 0x5136c6
mov eax, str.SecureOnly
jmp 0x5136c6
mov eax, str.SameSiteStrict
jmp 0x5136c6
mov eax, str.SameSiteLax
jmp 0x5136c6
mov eax, str.SameSiteUnspecifiedTreatedAsLax
jmp 0x5136c6
mov eax, str.SameSiteNoneInsecure
jmp 0x5136c6
mov eax, str.UserPreferences
jmp 0x5136c6
mov eax, str.SyntaxError
jmp 0x5136c6
mov eax, str.SchemeNotSupported
jmp 0x5136c6
mov eax, str.OverwriteSecure
jmp 0x5136c6
mov eax, str.InvalidDomain
jmp 0x5136c6
mov eax, str.InvalidPrefix
jmp 0x5136c6
mov eax, str.UnknownError
jmp 0x5136c6
mov eax, str.signatureSig
jmp 0x5136c6
mov eax, str.signatureIntegrity
jmp 0x5136c6
mov eax, str.signatureCertUrl
jmp 0x5136c6
mov eax, str.signatureCertSha256
jmp 0x5136c6
mov eax, str.signatureValidityUrl
jmp 0x5136c6
mov eax, str.signatureTimestamps
jmp 0x5136c6
mov eax, str.alert
jmp 0x5136c6
mov eax, str.confirm
jmp 0x5136c6
mov eax, str.prompt
jmp 0x5136c6
mov eax, str.beforeunload
jmp 0x5136c6
mov eax, 0x7c429c
jmp 0x5136c6
mov eax, str.typed
jmp 0x5136c6
mov eax, str.address_bar
jmp 0x5136c6
mov eax, str.auto_bookmark
jmp 0x5136c6
mov eax, str.auto_subframe
jmp 0x5136c6
mov eax, str.manual_subframe
jmp 0x5136c6
mov eax, str.generated
jmp 0x5136c6
mov eax, str.auto_toplevel
jmp 0x5136c6
mov eax, str.form_submit
jmp 0x5136c6
mov eax, str.reload
jmp 0x5136c6
mov eax, str.keyword
jmp 0x5136c6
mov eax, str.keyword_generated
jmp 0x5136c6
mov eax, str.other
jmp 0x5136c6
mov eax, str.currentTab
jmp 0x5136c6
mov eax, str.newTab
jmp 0x5136c6
mov eax, str.newWindow
jmp 0x5136c6
mov eax, str.download
jmp 0x5136c6
mov eax, str.formSubmissionGet
jmp 0x5136c6
mov eax, str.formSubmissionPost
jmp 0x5136c6
mov eax, str.httpHeaderRefresh
jmp 0x5136c6
mov eax, str.scriptInitiated
jmp 0x5136c6
mov eax, str.metaTagRefresh
jmp 0x5136c6
mov eax, str.pageBlockInterstitial
jmp 0x5136c6
mov eax, str.reload
jmp 0x5136c6
mov eax, str.anchorClick
jmp 0x5136c6
mov eax, str.noReferrer
jmp 0x5136c6
mov eax, str.noReferrerWhenDowngrade
jmp 0x5136c6
mov eax, str.origin
jmp 0x5136c6
mov eax, str.originWhenCrossOrigin
jmp 0x5136c6
mov eax, str.sameOrigin
jmp 0x5136c6
mov eax, str.strictOrigin
jmp 0x5136c6
mov eax, str.strictOriginWhenCrossOrigin
jmp 0x5136c6
xor eax, eax
mov esp, ebp
pop ebp
ret