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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faf9b
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0043ac50
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0043ac50
mov ecx, dword [ebp + 0x10]
call fcn.0043ac50
push 1
mov ecx, esi
call fcn.00468a80
test eax, eax
jne 0x4640d1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.browser.startup.homepage
lea ecx, [ebp - 0x18]
call fcn.0043a420
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
mov dword [ebp - 0x20], 1
call fcn.004688f0
test eax, eax
je 0x464108
mov eax, dword [ebx]
mov byte [ebp - 0xd], 0
cmp dword [eax - 0xc], 0
jne 0x46410c
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x464134
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], bl
je 0x464148
mov ecx, dword [ebp + 8]
push 0xa
push str.about:home
call fcn.0043b750
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 0x11
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x60], 0x3f400000
mov dword [ebp - 0x5c], 0x3e800000
mov dword [ebp - 0x58], 0x40100000
mov dword [ebp - 0x54], 0x26
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 4], 1
call fcn.00466fd0
xor eax, eax
mov dword [ebp - 0x14], eax
lea esp, [esp]
push dword [eax*4 + 0x53c1f8]
lea ecx, [ebp - 0x28]
call fcn.0043a420
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push edi
or ebx, 2
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x20], ebx
call fcn.004688f0
test eax, eax
je 0x4641d6
mov eax, dword [edi]
mov byte [ebp + 0xb], 1
cmp dword [eax - 0xc], 0
jne 0x4641da
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 1
test bl, 2
je 0x464205
mov edx, dword [ebp - 0x28]
and ebx, 0xfffffffd
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464205
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xb], 0
je 0x46423f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [edi]
lea ecx, [ebp - 0x6c]
call fcn.00497ef0
test eax, eax
je 0x4643cb
mov ecx, dword [ebp + 0x10]
add eax, 4
push eax
call fcn.0043a620
mov edi, 1
jmp 0x464617
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4643ce
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4643ed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
push dword [0x53c1f8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0043a420
mov byte [ebp - 4], 4
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4643ed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.browser.search.countryCode
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0043a420
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
or ebx, 4
push eax
mov dword [ebp - 0x20], ebx
call fcn.004688f0
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x4642de
cmp dword [esi - 0xc], 0
mov byte [ebp + 0xb], 1
jne 0x4642e2
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 5
test bl, 4
je 0x46430e
mov edx, dword [ebp - 0x30]
and ebx, 0xfffffffb
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46430e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xb], 0
je 0x46436b
push 1
push 0x508d78
lea ecx, [ebp - 0x18]
call fcn.00452320
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
push esi
call fcn.00452320
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.004688f0
test eax, eax
je 0x46436b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x46436b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00467600
test al, al
jne 0x4643f7
cmp dword [ebp + 0x14], 0
jne 0x4643f7
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46438b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4643ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4643c8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 5
jb 0x4641a0
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46445c
push 0x80004005
call fcn.0043a9b0
add esi, 0xfffffff0
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464417
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464437
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x464452
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
jmp 0x464617
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 6
push 0x50a270
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0043b750
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
test eax, eax
je 0x4645ca
push dword [ebp - 0x24]
call fcn.004dad74
add esp, 4
cmp eax, 0x22
jl 0x4645ca
push 5
push str.Yahoo
mov ecx, edi
call fcn.0043b750
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4644cf
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00463bc0
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x464570
push 0x509104
push esi
call fcn.004da111
add esp, 8
test eax, eax
jne 0x46453a
push 6
push 0x50ac58
mov ecx, edi
call fcn.0043b750
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [edi]
lea ecx, [ebp - 0x6c]
call fcn.00497ef0
test eax, eax
je 0x464569
mov ecx, dword [ebp + 0x10]
add eax, 4
push eax
call fcn.0043a620
jmp 0x4645aa
push 0x50901c
push esi
call fcn.004da111
add esp, 8
test eax, eax
jne 0x4645aa
push 0x50a270
mov ecx, edi
call fcn.0043a690
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
push dword [edi]
call fcn.00467600
test al, al
jne 0x4645aa
push str.Yahoo
jmp 0x4645a3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 0xc
je 0x464592
cmp ecx, 0x19
jne 0x4645aa
push 0x50ac58
jmp 0x4645a3
and eax, 0xfc00
cmp eax, 0xc00
je 0x4645aa
push 0x50a270
mov ecx, edi
call fcn.0043a690
lea edx, [esi - 0x10]
mov byte [ebp - 4], 7
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4645ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
push eax
push dword [edi]
lea ecx, [ebp - 0x6c]
call fcn.00497ef0
test eax, eax
jne 0x4645e8
xor al, al
jmp 0x4645f6
mov ecx, dword [ebp + 0x10]
add eax, 4
push eax
call fcn.0043a620
mov al, 1
mov ebx, dword [ebp - 0x24]
add ebx, 0xfffffff0
movzx edi, al
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x464617
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x6c]
call fcn.00440880
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10