Function at 0x3000659b
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [section..cdata]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
jne 0x300065bb
xor eax, eax
jmp 0x3000687d
push esi
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x300065ca
xor eax, eax
jmp 0x3000687c
mov eax, dword [esi]
push edi
mov dword [ebp - 0x420], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push 0x3000188c
push dword [ebp + 0xc]
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp - 0x418], ebx
mov dword [esi], ebx
call fcn.300044b2
add esp, 0x10
test eax, eax
je 0x30006635
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.30002eee
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006786
push edi
lea eax, [ebp - 0x210]
push eax
push 0x30001898
push dword [ebp + 0xc]
call fcn.300044b2
add esp, 0x10
test eax, eax
je 0x3000667b
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.30002eee
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006786
cmp dword [ebp + 0x18], ebx
je 0x300066d3
push dword [ebp + 8]
call fcn.300031fa
test eax, eax
je 0x300066d3
push dword [ebp + 8]
call fcn.300032ca
push eax
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.300046f6
add esp, 0x10
test eax, eax
je 0x300066d3
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.30002eee
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006786
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 8], ebx
push 0x80000000
mov dword [ebp + 0x14], 0x208
call fcn.3000ae02
add esp, 0x14
test eax, eax
jne 0x3000676f
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push dword [ebp + 8]
call fcn.3000ae1c
add esp, 0x18
test eax, eax
jne 0x3000676f
push dword [0x3000d070]
lea eax, [ebp - 0x210]
push eax
call fcn.3000a725
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x3000676f
lea eax, [edi + 0x14]
push 0x20
push eax
call fcn.3000a62c
cmp eax, ebx
pop ecx
pop ecx
je 0x3000676f
push dword [ebp - 0x420]
mov word [eax], bx
push edi
push dword [ebp + 0x10]
call fcn.3000abd3
push dword [ebp + 0x10]
call fcn.3000a616
add esp, 0x10
mov dword [esi], eax
mov dword [ebp - 0x41c], 1
cmp dword [ebp + 8], ebx
je 0x30006875
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x30006875
cmp dword [ebp - 0x414], ebx
je 0x30006875
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x424], eax
je 0x30006875
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x418]
push dword [ebp - 0x414]
call fcn.3000b2c5
add esp, 0x10
test eax, eax
je 0x30006869
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp + 0xc], eax
mov edi, 0x300020ec
mov eax, dword [edi]
push dword [edi - 4]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
mov dword [ebp - 0x414], ebx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.30002e72
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x424]
call fcn.3000b31a
add esp, 0x18
test eax, eax
je 0x30006822
cmp dword [ebp - 0x414], ebx
jne 0x3000682f
add edi, 8
cmp edi, 0x3000212c
jl 0x300067db
jmp 0x30006869
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push dword [ebp + 0x10]
call fcn.3000abd3
push dword [ebp - 0x414]
call fcn.3000a616
add esp, 0x10
push dword [ebp - 0x414]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x41c], 1
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x41c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.3000b837
leave
ret 0x14