Function at 0x6fb0951c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
push 0xa
pop ecx
mov esi, 0x6fb01638
lea edi, [ebp - 0x50]
push 0x14
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, 0x6fb015e4
lea edi, [ebp - 0xa4]
mov eax, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x18], 0
movsw word es:[edi], word [esi]
and dword [eax], 0
call fcn.6fb0b9fb
test eax, eax
je 0x6fb09591
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x20], 0x6fb0d80a
mov dword [ebp - 0x14], 0x6fb0d7f8
mov dword [ebp - 0xc], 0x6fb0d7e6
mov dword [ebp - 0x1c], 0x6fb015b0
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x124]
jmp 0x6fb095e6
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push 0x104
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0x20], 0x6fb0d7d4
mov dword [ebp - 0x14], 0x6fb0d7c2
mov dword [ebp - 0xc], 0x6fb0d7b0
push eax
push eax
mov dword [ebp - 0x1c], 0x6fb01594
lea esi, [ebp - 0xd0]
lea edi, [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x6fb09605
lea eax, [ebp - 0x24]
push eax
push edi
call dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x6fb09605
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp + 8], eax
jne 0x6fb0960c
xor eax, eax
jmp 0x6fb0978b
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
call dword [ebp - 0x14]
test eax, eax
je 0x6fb09768
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x14], eax
push 0x4b0
movzx eax, ax
push eax
push dword [ebp - 0x10]
push esi
call ebx
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
jne 0x6fb09714
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
je 0x6fb096a7
mov eax, dword [ebp - 4]
push 0
shr eax, 2
mov dword [ebp - 0x1c], eax
pop edi
je 0x6fb096a7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
shr ecx, 0x10
movzx eax, word [eax]
push ecx
push eax
push dword [ebp - 0x10]
push esi
call ebx
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
jne 0x6fb09714
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x6fb09674
mov edi, 0x409
cmp word [ebp - 0x14], di
je 0x6fb096d4
push 0x4b0
push edi
push dword [ebp - 0x10]
push esi
call ebx
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
jne 0x6fb09714
push 0x4e4
push edi
push dword [ebp - 0x10]
push esi
call ebx
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
jne 0x6fb09714
push eax
push edi
push dword [ebp - 0x10]
push esi
call ebx
add esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
je 0x6fb09768
mov eax, dword [ebp - 4]
xor edi, edi
lea eax, [eax + eax + 2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [ebp + 0xc]
cmp eax, edi
mov dword [esi], eax
je 0x6fb0976b
mov dword [ebp - 0x18], 1
call fcn.6fb0b9fb
test eax, eax
je 0x6fb0974c
push dword [ebp - 8]
push dword [esi]
call fcn.6fb0d43f
pop ecx
pop ecx
jmp 0x6fb0976b
push dword [ebp - 4]
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x6fb0976b
mov dword [ebp - 0x18], edi
jmp 0x6fb0976b
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x18], 0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
jne 0x6fb09783
mov eax, dword [esi]
test eax, eax
je 0x6fb09783
push eax
call edi
and dword [esi], 0
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 8