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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031635
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x1005f070]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x434], eax
test esi, esi
jne 0x10007a80
xor eax, eax
jmp 0x10007d87
test eax, eax
je 0x10007a79
mov ecx, dword [eax]
xor edx, edx
mov dword [ebp - 0x430], ecx
xor ecx, ecx
mov dword [eax], edx
lea eax, [ebp - 0x21c]
push ecx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x42c], edx
mov edx, 0x100364c0
mov word [ebp - 0x21c], cx
mov ecx, esi
push eax
call fcn.1002bf39
test eax, eax
je 0x10007af0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x424]
lea ecx, [ebp - 0x21c]
call fcn.1002bf39
mov edi, dword [ebp - 0x420]
test edi, edi
jne 0x10007b97
push ecx
lea eax, [ebp - 0x21c]
mov edx, 0x100364b4
push eax
mov ecx, esi
call fcn.1002bf39
test eax, eax
je 0x10007b31
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x424]
lea ecx, [ebp - 0x21c]
call fcn.1002bf39
mov edi, dword [ebp - 0x420]
test edi, edi
jne 0x10007b97
cmp dword [ebp + 0x18], 0
je 0x10007c7e
mov edi, dword [ebp - 0x428]
push edi
call fcn.1002bf39
test eax, eax
je 0x10007c7e
mov ecx, edi
call fcn.1000c36e
push eax
lea ecx, [ebp - 0x21c]
call fcn.1002bf39
test eax, eax
je 0x10007c7e
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x424]
lea ecx, [ebp - 0x21c]
call fcn.1002bf39
mov edi, dword [ebp - 0x420]
test edi, edi
je 0x10007c7e
xor esi, esi
cmp dword [ebp - 0x424], esi
je 0x10007d85
mov ecx, edi
call fcn.100033c7
mov dword [ebp - 0x420], eax
test eax, eax
je 0x10007d85
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
push eax
push edi
call fcn.1002bf39
test eax, eax
je 0x10007c6e
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
movzx eax, ax
mov edi, 0x10037304
mov dword [ebp - 0x428], eax
and dword [ebp - 0x424], 0
lea ecx, [ebp - 0x41c]
push dword [edi - 4]
xor edx, edx
cmp dword [edi], edx
cmovne edx, eax
call fcn.1002bf39
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push eax
lea edx, [ebp - 0x41c]
call fcn.1002bf39
test eax, eax
je 0x10007c2b
mov esi, dword [ebp - 0x424]
test esi, esi
jne 0x10007c3e
add edi, 8
cmp edi, 0x10037344
jge 0x10007c6c
mov eax, dword [ebp - 0x428]
jmp 0x10007be9
test ebx, ebx
je 0x10007c51
push dword [ebp - 0x430]
mov edx, esi
mov ecx, ebx
call fcn.1002bf39
mov ecx, esi
call fcn.1000d787
mov ecx, dword [ebp - 0x434]
mov dword [ecx], eax
mov ecx, esi
call fcn.100033fc
xor esi, esi
inc esi
jmp 0x10007c6e
xor esi, esi
mov ecx, dword [ebp - 0x420]
call fcn.100033fc
jmp 0x10007d85
lea eax, [ebp - 0x420]
mov dword [ebp - 0x428], 0x208
push eax
push 0x20019
push ecx
xor edi, edi
mov edx, esi
mov ecx, 0x80000000
mov dword [ebp - 0x420], edi
call fcn.1002bf39
test eax, eax
jne 0x10007d6f
movzx eax, byte [ebp - 0x21c]
xor esi, esi
xor ecx, ecx
inc esi
cmp dword [ebp - 0x424], esi
cmove eax, ecx
mov byte [ebp - 0x21c], al
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
push edi
push dword [ebp - 0x420]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x10007d6f
mov edx, 0x10037810
lea ecx, [ebp - 0x21c]
call fcn.1002bf39
mov edi, eax
test edi, edi
jne 0x10007d22
cmp dword [ebp - 0x420], 0
je 0x10007d1e
push dword [ebp - 0x420]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor esi, esi
jmp 0x10007d85
push 0x20
lea ecx, [edi + 0x14]
pop edx
call fcn.1000d79e
test eax, eax
je 0x10007d09
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x10007d49
push dword [ebp - 0x430]
mov edx, edi
mov ecx, ebx
call fcn.1002bf39
mov ecx, ebx
call fcn.1000d787
cmp dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x434]
mov dword [ecx], eax
je 0x10007d85
push dword [ebp - 0x420]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10007d85
cmp dword [ebp - 0x420], edi
je 0x10007d83
push dword [ebp - 0x420]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, edi
mov eax, esi
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.1002f764
leave
ret 0x14