Function at 0x1012c3e0
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10196488
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
push 0x20019
push 0
push str.SoftwareAdobeALCID
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1012c4df
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1012c4d6
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1012c4d6
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1015cbe3
mov edi, eax
add esp, 4
test edi, edi
je 0x1012c4d6
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1012c4cd
push edi
lea ecx, [ebp - 0x30]
call fcn.10001c70
push edi
call fcn.1015c886
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x30]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x30], ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 7
movq qword [ebp - 0x50], xmm0
movq qword [ebp - 0x48], xmm0
cmp esi, eax
je 0x1012c532
mov ecx, esi
call fcn.10001d00
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x10], xmm0
jmp 0x1012c56c
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x1012c56c
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1012c562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012c850
push edx
push ecx
call fcn.1015cbd5
add esp, 8
cmp dword [esi + 0x10], 0
jne 0x1012c830
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
mov edi, esi
and edi, 0x3ff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov edx, eax
shr si, 0xa
shr ax, 0xa
and edx, 0x3ff
movzx ecx, ax
cmp dx, di
movzx eax, si
cmovne ecx, eax
lea eax, [edi - 1]
movzx ecx, cx
cmp eax, 0x26
ja case.0x1012c5bb.3
jmp dword [eax*4 + 0x1012c858]
cmp ecx, 2
mov edx, str.en_GB
mov ecx, dword [ebp - 0x3c]
mov eax, str.en_US
cmove eax, edx
push eax
call fcn.10001c70
jmp 0x1012c830
cmp ecx, 5
je 0x1012c5f4
cmp ecx, 7
je 0x1012c5f4
mov eax, str.en_AE
cmp ecx, 6
jne 0x1012c5f9
mov eax, str.fr_MA
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.10001c70
jmp 0x1012c830
cmp ecx, 3
mov edx, str.fr_CA
mov ecx, dword [ebp - 0x3c]
mov eax, str.fr_FR
cmove eax, edx
push eax
call fcn.10001c70
jmp 0x1012c830
cmp ecx, 2
mov edx, str.es_MX
mov ecx, dword [ebp - 0x3c]
mov eax, str.es_ES
cmove eax, edx
push eax
call fcn.10001c70
jmp 0x1012c830
cmp ecx, 2
je 0x1012c652
mov eax, str.zh_TW
cmp ecx, 4
jne 0x1012c657
mov eax, str.zh_CN
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.en_IL
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.da_DK
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.nl_NL
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.fi_FI
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.de_DE
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.it_IT
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.ja_JP
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.ko_KR
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.sv_SE
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.pl_PL
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.cs_CZ
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.tr_TR
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.el_GR
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.ru_RU
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.ro_RO
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.hr_HR
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.lv_LV
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.et_EE
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.sk_SK
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.sl_SI
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.hu_HU
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.nb_NO
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.bg_BG
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.uk_UA
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.pt_BR
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push str.lt_LT
call fcn.10001c70
jmp 0x1012c830
mov ecx, dword [ebp - 0x3c]
push 5
push str.en_US
call fcn.10001d60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101686f5
nop dword [eax]
loopne 0x1012c81f
adc dl, byte [eax]
in eax, 0xc7
adc dl, byte [eax]
and eax, ecx
adc dl, byte [eax]
inc ebx
invalid