Function at 0x300063ad
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x3000d0a8]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
jne 0x300063cd
xor eax, eax
jmp 0x3000668f
push esi
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x300063dc
xor eax, eax
jmp 0x3000668e
mov eax, dword [esi]
push edi
mov dword [ebp - 0x420], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push 0x30001864
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.300042ce
add esp, 0x10
test eax, eax
je 0x30006447
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.30002d46
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006598
push edi
lea eax, [ebp - 0x210]
push eax
push 0x30001870
push dword [ebp + 0xc]
call fcn.300042ce
add esp, 0x10
test eax, eax
je 0x3000648d
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.30002d46
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006598
cmp dword [ebp + 0x18], ebx
je 0x300064e5
push dword [ebp + 8]
call fcn.30003052
test eax, eax
je 0x300064e5
push dword [ebp + 8]
call fcn.30003122
push eax
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.30004512
add esp, 0x10
test eax, eax
je 0x300064e5
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.30002d46
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jne 0x30006598
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.3000abc3
add esp, 0x14
test eax, eax
jne 0x30006581
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.3000abdd
add esp, 0x18
test eax, eax
jne 0x30006581
push dword [0x3000d070]
lea eax, [ebp - 0x210]
push eax
call fcn.3000a4f5
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x30006581
lea eax, [edi + 0x14]
push 0x20
push eax
call fcn.3000a3fc
cmp eax, ebx
pop ecx
pop ecx
je 0x30006581
push dword [ebp - 0x420]
mov word [eax], bx
push edi
push dword [ebp + 0x10]
call fcn.3000a9a3
push dword [ebp + 0x10]
call fcn.3000a3e6
add esp, 0x10
mov dword [esi], eax
mov dword [ebp - 0x41c], 1
cmp dword [ebp + 8], ebx
je 0x30006687
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x30006687
cmp dword [ebp - 0x414], ebx
je 0x30006687
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x424], eax
je 0x30006687
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x418]
push dword [ebp - 0x414]
call fcn.3000b086
add esp, 0x10
test eax, eax
je 0x3000667b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
mov dword [ebp + 0xc], eax
mov edi, 0x300020c4
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.30002cca
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x424]
call fcn.3000b0db
add esp, 0x18
test eax, eax
je 0x30006634
cmp dword [ebp - 0x414], ebx
jne 0x30006641
add edi, 8
cmp edi, 0x30002104
jl 0x300065ed
jmp 0x3000667b
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push dword [ebp + 0x10]
call fcn.3000a9a3
push dword [ebp - 0x414]
call fcn.3000a3e6
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.3000b5e5
leave
ret 0x14