Function at 0x10007ae0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100320ce
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x10040040]
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
mov esi, edx
mov dword [ebp - 0xf8], esi
mov ebx, ecx
mov dword [ebp - 0xfc], ebx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], 1
movq qword [ebx], xmm0
push 0x84
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.100161f9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push eax
push str.E8_
push 0x17
push 0
push 0x10033230
mov dword [ebp - 0x104], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10007bb2
call dword [sym.imp.ole32.dll_CoUninitialize]
sub esp, 0x18
mov ecx, esp
push str.Could_not_create_sapi_token_category
call fcn.10003f10
mov edx, 0xb
mov ecx, esi
call fcn.10002bd0
add esp, 0x18
jmp 0x10008118
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xcc]
push 0
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftSpeechVoices
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0xcc]
lea edx, [ebp - 0xd0]
push edx
push 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
test eax, eax
jns 0x10007c50
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10007c23
nop
mov ecx, edi
call fcn.1000ad10
mov ecx, dword [eax]
lea eax, [esi - 1]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10007c16
mov dword [edi + 0xc], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [edi + 0x10]
test esi, esi
jne 0x10007c00
call dword [sym.imp.ole32.dll_CoUninitialize]
sub esp, 0x18
mov ecx, esp
push str.Could_not_enumerate_sapi_categories
call fcn.10003f10
mov ecx, dword [ebp - 0xf8]
mov edx, 0xc
call fcn.10002bd0
add esp, 0x18
jmp 0x10008118
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xd0]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x10007ce6
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10007cb9
mov ecx, edi
call fcn.1000ad10
mov ecx, dword [eax]
lea eax, [esi - 1]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10007cac
mov dword [edi + 0xc], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [edi + 0x10]
test esi, esi
jne 0x10007c96
call dword [sym.imp.ole32.dll_CoUninitialize]
sub esp, 0x18
mov ecx, esp
push str.Could_not_count_enumeration
call fcn.10003f10
mov ecx, dword [ebp - 0xf8]
mov edx, 0xd
call fcn.10002bd0
add esp, 0x18
jmp 0x10008118
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xec], 0
push eax
push 0x10033200
push 0x17
push 0
push 0x10033210
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10007da6
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
js 0x10007d9a
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
push edx
push str.attributes
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
js 0x10007d8e
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0xec]
push edx
push str.name
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor esi, esi
mov dword [ebp - 0x100], esi
cmp dword [ebp - 0x3c], esi
jbe 0x10008100
nop word [eax + eax]
mov ecx, dword [ebp - 0xd0]
lea edx, [ebp - 0xc8]
push edx
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
js 0x100080f0
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
push edx
push str.attributes
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
js 0x100080e4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0xf4]
push edx
push str.vendor
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
js 0x100080d0
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0xf0]
push edx
push str.name
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
js 0x100080d0
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0xd4]
push edx
mov dword [ebp - 0xd4], 0
push str.language
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
test eax, eax
js 0x10007ec1
push 0x10
push 0
push dword [ebp - 0xd4]
call fcn.1001d27b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x38]
push 9
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 9
lea ecx, [ebp - 0x38]
lea ecx, [ecx + eax*2]
mov eax, 0x2d
push ecx
push 0x5a
push esi
mov word [ecx - 2], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0xe8]
push edx
mov dword [ebp - 0xe8], 0
push str.gender
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0xe4]
push edx
mov dword [ebp - 0xe4], 0
push 0x1003b3a0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
mov eax, dword [ebp - 0xe4]
sub esp, 0x18
test eax, eax
mov dword [ebp - 0xfc], esp
mov ecx, 0x1003b3a8
mov edx, esp
cmovne ecx, eax
push ecx
mov ecx, edx
call fcn.10003f10
sub esp, 0x18
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe8]
mov ecx, 0x1003b3a8
test eax, eax
mov dword [ebp - 0xf8], esp
mov edx, esp
cmovne ecx, eax
push ecx
mov ecx, edx
call fcn.10003f10
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd4]
mov ecx, 0x1003b3a8
test eax, eax
mov dword [ebp - 0x10c], esp
mov edx, esp
cmovne ecx, eax
push ecx
mov ecx, edx
call fcn.10003f10
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x110], esp
push str.sapi
call fcn.10003f10
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push dword [ebp - 0xf0]
call fcn.10003f10
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000a9a0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x10008015
mov eax, dword [ebp - 0xf0]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10007ff9
test dx, dx
je 0x10007ff5
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10007ff9
add ecx, 4
add eax, 4
test dx, dx
jne 0x10007fd3
xor eax, eax
jmp 0x10007ffe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10008015
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebx]
push dword [eax]
lea eax, [ebp - 0x118]
jmp 0x10008024
lea eax, [ebp - 0xc0]
push eax
push dword [ebx]
lea eax, [ebp - 0x11c]
push eax
mov ecx, ebx
call fcn.1000a840
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0xc]
add eax, ecx
test al, 3
jne 0x10008057
lea eax, [ecx + 4]
shr eax, 2
cmp dword [edi + 8], eax
ja 0x10008057
push ecx
mov ecx, edi
call fcn.1000c240
mov ecx, dword [edi + 8]
lea eax, [ecx*4 - 1]
dec ecx
and eax, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov esi, dword [edi + 0x10]
add esi, eax
mov eax, esi
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
shl ecx, 2
mov dword [ebp - 0xf8], ecx
cmp dword [ecx + eax], 0
jne 0x1000809e
push 0x10
call fcn.100161f9
mov ecx, dword [edi + 4]
add esp, 4
mov edx, dword [ebp - 0xf8]
mov dword [edx + ecx], eax
mov ecx, edx
mov eax, dword [edi + 4]
and esi, 3
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0xfc]
mov dword [eax + esi*4], ecx
lea ecx, [ebp - 0xc0]
inc dword [edi + 0x10]
mov byte [ebp - 4], 0
call fcn.10008140
mov esi, dword [ebp - 0x100]
mov eax, dword [ebp - 0xc4]
jmp 0x100080ea
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc4]
jmp 0x100080ea
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov dword [ebp - 0x100], esi
cmp esi, dword [ebp - 0x3c]
jb 0x10007dc0
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
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.100161e6
mov esp, ebp
pop ebp
ret