Function at 0x10006f10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x40
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
test byte [0x1000c080], 8
jne 0x100070d8
test ebx, ebx
je 0x100070b0
mov edx, edi
mov ecx, edi
and edx, 0x3ff
shr cx, 0xa
cmp edx, 9
ja 0x100070c0
mov eax, 0x212
bt eax, edx
jae 0x100070c0
cmp cx, 1
sbb eax, eax
and eax, 0xfff
add eax, 2
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebx], edi
mov word [ebx + 4], ax
xor eax, eax
mov word [ebx + 0x10], ax
mov eax, esi
and ax, 0x3ff
cmp ax, 9
je 0x10006fa4
cmp word [0x1000c020], si
je 0x10006fa4
test byte [0x1000c080], 1
jne 0x10007130
mov word [0x1000c020], si
lea eax, [ebx + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov dword [esp + 0xc], 6
mov dword [esp + 4], 0x59
mov dword [esp], edi
mov dword [ebp - 0x1c], eax
call eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
test eax, eax
mov esi, eax
je 0x100070b0
cmp edx, 9
ja 0x10006ffc
mov eax, 0x212
bt eax, edx
jae 0x10006ffc
cmp cx, 1
je 0x10007002
cmp cx, 1
jbe 0x10007045
mov eax, 6
lea edx, [esi - 1]
mov ecx, 0x2d
sub eax, esi
mov word [ebp + edx*2 - 0x18], cx
mov dword [ebp - 0x20], edx
mov dword [esp + 0xc], eax
lea eax, [ebp + esi*2 - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5a
mov dword [esp], edi
mov eax, dword [ebp - 0x1c]
call eax
mov edx, dword [ebp - 0x20]
sub esp, 0x10
test eax, eax
je 0x10007120
add esi, eax
mov dword [esp + 0x14], 6
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_LCMapStringW]
sub esp, 0x18
cmp esi, 6
jg 0x100070b0
add ebx, 0x10
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0x10
test eax, eax
jle 0x100070b0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0x80070057
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
test cx, cx
je 0x1000716c
mov dword [ebp - 0x2c], 2
jmp 0x10006f6d
movzx eax, si
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__p__0x_04lx__0x_04x___p__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.fnIMultiLanguage3_GetRfc1766Info
mov dword [esp + 4], 0x1000c080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10006f2f
xor eax, eax
mov word [ebp + edx*2 - 0x18], ax
jmp 0x10007045
movzx eax, si
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Only_English_names_supported__requested:_0x_04x__n
mov dword [esp + 8], str.fnIMultiLanguage3_GetRfc1766Info
mov dword [esp + 4], 0x1000c080
mov dword [esp], 0
call sym._wine_dbg_log.constprop.1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x10006f9d
test byte [0x1000c080], 8
jne 0x1000717f
mov eax, 0x80004005
jmp 0x100070b5
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.SUBLANGID_missing_in_0x_04lx_n
mov dword [esp + 8], str.fnIMultiLanguage3_GetRfc1766Info
mov dword [esp + 4], 0x1000c080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10007175