Function at 0x517c20
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57548e
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x517c6a
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x517c9d
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 1
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x517ccd
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x5de4cc
call fcn.004c45b0
test eax, eax
je 0x517f78
mov eax, dword [ebp - 0xec]
cmp dword [eax - 0xc], 0
je 0x517f78
push 0
lea eax, [ebp - 0xe4]
mov ecx, 0x5de4cc
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004c45e0
test eax, eax
je 0x517f78
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x517f78
js 0x517f78
push str.http:__
push eax
call fcn.00526d32
add esp, 8
test eax, eax
je 0x517f78
mov ecx, dword [ebp - 0xe4]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x517f78
cmp dword [ecx - 0xc], 0
jl 0x517f78
push str.www.teoma.com
push ecx
call fcn.00526d32
mov ecx, dword [ebp - 0xe4]
add esp, 8
test eax, eax
je 0x517d97
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x517dc8
cmp dword [ecx - 0xc], 0
jl 0x517f78
push str.www.search.ask.com
push ecx
call fcn.00526d32
add esp, 8
test eax, eax
je 0x517f78
sub eax, dword [ebp - 0xe4]
sar eax, 1
cmp eax, 0xffffffff
je 0x517f78
push str.https:__
push str.http:__
lea ecx, [ebp - 0xe4]
call fcn.004601f0
lea ecx, [ebp - 0xe8]
call fcn.0045a530
push dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 3
push dword [0x5d680c]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0xe8]
lea eax, [ebp - 0xe4]
push eax
push 0x57d210
push esi
push reloc.WS2_32.dll_accept
call fcn.0045ded0
add esp, 0x20
lea ecx, [ebp - 0xe0]
call fcn.0045a530
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
push str.FaviconUrl
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
add esp, 0x10
test eax, eax
je 0x517eaf
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x517eaf
js 0x517eaf
push str.http:__
push edi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x517eaf
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x517eaf
push str.https:__
push str.http:__
lea ecx, [ebp - 0xe0]
call fcn.004601f0
lea eax, [ebp - 0xe0]
push eax
push str.FaviconUrl
push esi
push reloc.WS2_32.dll_accept
call fcn.0045ded0
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.0045a530
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 5
push eax
push str.SuggestionsURL_JSON
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
add esp, 0x10
test eax, eax
jne 0x517efa
lea eax, [ebp - 0xdc]
push eax
push str.SuggestionURL_JSON
push esi
push reloc.WS2_32.dll_accept
call fcn.00511e70
add esp, 0x10
test eax, eax
je 0x517f53
mov edi, dword [ebp - 0xdc]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x517f53
js 0x517f39
push str.http:__
push edi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x517f39
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x517f39
push str.https:__
push str.http:__
lea ecx, [ebp - 0xdc]
call fcn.004601f0
lea eax, [ebp - 0xdc]
push eax
push str.SuggestionsURL_JSON
push esi
push reloc.WS2_32.dll_accept
call fcn.0045ded0
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.0048ceb0
lea ecx, [ebp - 0xe0]
call fcn.0048ceb0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0048ceb0
mov eax, dword [ebp - 0xec]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x51829c
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x517fa7
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 6
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x517fd7
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 7
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x518007
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xec]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 8
push dword [0x5d680c]
push 0x57e340
push eax
call fcn.0045acb0
mov ebx, dword [ebp - 0xf0]
lea eax, [ebp - 0xdc]
push eax
push str.SuggestionURL_JSON
push ebx
push reloc.WS2_32.dll_accept
call fcn.00511e70
mov esi, eax
lea eax, [ebp - 0xe8]
push eax
push str.SuggestionsURL_JSON
push ebx
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xe0], esi
call fcn.00511e70
mov edi, dword [ebp - 0xe8]
add esp, 0x30
test esi, esi
je 0x51808a
test eax, eax
jne 0x51808a
lea esi, [eax + 1]
jmp 0x518090
xor esi, esi
test eax, eax
jne 0x518099
cmp dword [ebp - 0xe0], 0
jne 0x5180ce
cmp dword [edi - 0xc], 0
jl 0x5180ce
push str.ss.websearch.ask.com
push edi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x5180ce
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x5180ce
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0045a580
jmp 0x5180d6
test esi, esi
je 0x51823c
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x518242
js 0x51811f
push str.http:__
push esi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x51811f
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x51811f
push str.https:__
push str.http:__
lea ecx, [ebp - 0xdc]
call fcn.004601f0
mov esi, dword [ebp - 0xdc]
cmp dword [esi - 0xc], 0
jl 0x518220
push str.ss.websearch.ask.com
push esi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x518220
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x518220
push str.https:__lss.sse_iacapps.com_lss_api_token466638d2_530f_3fe4_a57c_7db505bac25f
lea ecx, [ebp - 0xdc]
call fcn.0045a5f0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea ecx, [ebp - 0xe0]
movzx esi, ax
call fcn.0045a530
push 0x64
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 9
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x51819c
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0047cf20
push 0x58467c
lea ecx, [ebp - 0xe0]
call fcn.0047cf20
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x5a
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5181d4
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0047cf20
mov esi, dword [ebp - 0xe0]
cmp dword [esi - 0xc], 3
jle 0x5181ff
push str.lang
lea ecx, [ebp - 0xdc]
call fcn.0047cf20
push dword [esi - 0xc]
lea ecx, [ebp - 0xdc]
push esi
call fcn.00472540
push str.tagapn_prodlimit10hi0qsearchTerms
lea ecx, [ebp - 0xdc]
call fcn.0047cf20
lea ecx, [ebp - 0xe0]
call fcn.0048ceb0
mov esi, dword [ebp - 0xdc]
lea eax, [ebp - 0xdc]
push eax
push str.SuggestionsURL_JSON
push ebx
push reloc.WS2_32.dll_accept
call fcn.0045ded0
add esp, 0x10
jmp 0x518242
mov esi, dword [ebp - 0xdc]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 7
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x518262
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x51827f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x51829c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xec]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5182bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe4]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5182e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x518306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret