Function at 0x30006ac4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x30002edc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x42c], ecx
jne 0x30006b04
xor eax, eax
jmp 0x30006ddb
cmp esi, ebx
je 0x30006afd
mov ecx, dword [esi]
push edi
mov dword [ebp - 0x430], ecx
mov edi, 0x104
push edi
lea ecx, [ebp - 0x210]
push ecx
push 0x300012d8
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x424], ebx
mov dword [esi], ebx
call fcn.30005512
test eax, eax
je 0x30006b74
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.300044d4
cmp dword [ebp - 0x414], ebx
jne 0x30006ce3
push edi
lea eax, [ebp - 0x210]
push eax
push 0x300012e4
push dword [ebp - 0x420]
call fcn.30005512
test eax, eax
je 0x30006bbd
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.300044d4
cmp dword [ebp - 0x414], ebx
jne 0x30006ce3
cmp dword [ebp + 0x18], ebx
je 0x30006c1b
push dword [ebp - 0x41c]
call fcn.30004793
test eax, eax
je 0x30006c1b
push dword [ebp - 0x41c]
call fcn.30004de7
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.30005767
test eax, eax
je 0x30006c1b
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.300044d4
cmp dword [ebp - 0x414], ebx
jne 0x30006ce3
lea eax, [ebp - 0x414]
push eax
push 0x20019
push ebx
push dword [ebp - 0x420]
mov dword [ebp - 0x414], ebx
push 0x80000000
mov dword [ebp - 0x41c], 0x208
call fcn.3000c338
test eax, eax
jne 0x30006c89
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push dword [ebp - 0x414]
call fcn.3000c342
test eax, eax
jne 0x30006c89
push 0x3000208c
lea eax, [ebp - 0x210]
push eax
call fcn.3000bcb5
mov edi, eax
cmp edi, ebx
jne 0x30006ca6
cmp dword [ebp - 0x414], ebx
je 0x30006dd4
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x30006dd4
push 0x20
lea eax, [edi + 0x14]
push eax
call fcn.3000bbab
cmp eax, ebx
je 0x30006c89
push dword [ebp - 0x430]
mov word [eax], bx
push edi
push dword [ebp - 0x42c]
call fcn.3000c17b
push dword [ebp - 0x42c]
call fcn.3000bb8d
mov dword [esi], eax
mov dword [ebp - 0x428], 1
jmp 0x30006c89
cmp dword [ebp - 0x418], ebx
je 0x30006dd4
push dword [ebp - 0x414]
call fcn.30003d51
cmp eax, ebx
mov dword [ebp - 0x420], eax
je 0x30006dd4
push eax
push dword [ebp - 0x414]
push dword [ebp - 0x424]
push dword [ebp - 0x418]
call fcn.3000c7bf
test eax, eax
je 0x30006dc9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp - 0x41c], eax
mov edi, 0x30002864
mov eax, dword [edi]
push dword [edi - 4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x41c]
mov dword [ebp - 0x418], ebx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.30004458
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x420]
call fcn.3000c80a
test eax, eax
je 0x30006d83
cmp dword [ebp - 0x418], ebx
jne 0x30006d90
add edi, 8
cmp edi, 0x300028a4
jl 0x30006d3c
jmp 0x30006dc9
push dword [ebp - 0x430]
push dword [ebp - 0x418]
push dword [ebp - 0x42c]
call fcn.3000c17b
push dword [ebp - 0x418]
call fcn.3000bb8d
push dword [ebp - 0x418]
mov dword [esi], eax
call fcn.30003d92
mov dword [ebp - 0x428], 1
push dword [ebp - 0x420]
call fcn.30003d92
mov eax, dword [ebp - 0x428]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.3000c9d0
leave
ret 0x14