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

Disassembly:
push 0xffffffffffffffff
push 0x61dc03
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x786f54]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
push 0x1c
call sub.SCL.dll_Ordinal_5366
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x27c], 0
je 0x4629d0
mov ecx, eax
call sub.SCL.dll_Ordinal_4927
jmp 0x4629d2
xor eax, eax
mov dword [0x798368], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x27c], 0xffffffff
call eax
push str.AppLanguage
lea ecx, [esp + 0x38]
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x20]
mov esi, 1
push edx
mov dword [esp + 0x284], esi
call fcn.004d9110
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x27c], 3
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
jne 0x462ae0
push str.AppLanguage.txt
lea ecx, [esp + 0x14]
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x280], 4
call fcn.004d8640
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x28c], 5
call sub.SCL.dll_Ordinal_9839
push eax
lea ecx, [esp + 0x38]
mov bl, 6
push ecx
mov byte [esp + 0x294], bl
call fcn.004d8900
add esp, 0x18
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0x98]
lea ecx, [esp + 0x20]
mov byte [esp + 0x280], 7
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], bl
call sub.SCL.dll_Ordinal_7754
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 5
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 4
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 3
call sub.SCL.dll_Ordinal_9807
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
test eax, eax
jne 0x462bba
lea edx, [esp + 0x10]
push edx
push 0x20019
push eax
push str.SOFTWAREAdobeDefaultLanguage
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x462bba
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push str.AdobeProductLanguage
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
call esi
test eax, eax
jne 0x462baf
lea ecx, [esp + 0x24]
call sub.SCL.dll_Ordinal_7741
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x280], 8
call sub.SCL.dll_Ordinal_7721
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
add eax, 0xd
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 0
push str.AdobeProductLanguage
push eax
call esi
test eax, eax
jne 0x462b9e
lea ecx, [esp + 0x24]
call sub.SCL.dll_Ordinal_7722
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x98]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 3
call sub.SCL.dll_Ordinal_7754
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x462bd6
mov edi, str.default
lea esi, [eax + 0xd]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x462c03
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
movzx eax, ax
push eax
call fcn.004cf490
add esp, 4
test eax, eax
je 0x462c03
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x94]
push ecx
lea ecx, [esp + 0x20]
call eax
lea ecx, [esp + 0x1c]
call fcn.00462600
cmp dword [0x79836c], 0
je 0x462dbb
push 0x7016b4
lea ecx, [esp + 0x1c]
call sub.SCL.dll_Ordinal_9806
mov edx, dword [0x79836c]
lea ecx, [esp + 0x18]
push ecx
add edx, 0x14
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x288], 9
call sub.SCL.dll_Ordinal_9839
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 0xb
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
add eax, 0xc
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wfindfirst64i32]
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x462da0
mov edi, dword [sym.imp.MSVCR80.dll__wfindnext64i32]
mov bl, 0x13
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x34]
call sub.SCL.dll_Ordinal_9806
push 0x7016b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 0xc
call sub.SCL.dll_Ordinal_9806
mov ecx, dword [0x79836c]
lea eax, [esp + 0x14]
push eax
add ecx, 0x14
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x288], 0xd
call sub.SCL.dll_Ordinal_9839
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x294], 0xe
call sub.SCL.dll_Ordinal_9839
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c], 0x10
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0x11
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0x12
call sub.SCL.dll_Ordinal_9807
push str.zstrings:_Loading
lea ecx, [esp + 0x28]
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x288], bl
call sub.SCL.dll_Ordinal_9839
push eax
mov byte [esp + 0x28c], 0x14
call fcn.004da5e0
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27c], bl
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 0x12
call sub.SCL.dll_Ordinal_9807
lea eax, [esp + 0x10]
push eax
call fcn.00461ec0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 0xb
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x40]
push ecx
push esi
call edi
add esp, 8
test eax, eax
je 0x462c85
push esi
call dword [sym.imp.MSVCR80.dll__findclose]
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 3
call sub.SCL.dll_Ordinal_9807
call fcn.00462220
lea ecx, [esp + 0x1c]
mov dword [esp + 0x27c], 0xffffffff
call sub.SCL.dll_Ordinal_7754
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00610c76
add esp, 0x270
ret