Function at 0x4d2094
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4d209d
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004049dc
mov eax, dword [ebp - 8]
call fcn.004049dc
xor eax, eax
push ebp
push 0x4d2378
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.0040ba30
test al, al
jne 0x4d212f
push 0x10
lea edx, [ebp - 0x18]
mov eax, dword [0x4d5958]
mov eax, dword [eax]
call fcn.00486114
mov eax, dword [ebp - 0x18]
call fcn.004049ec
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4d5678]
call fcn.00406560
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404838
mov eax, dword [ebp - 0x1c]
call fcn.004049ec
push eax
mov eax, ebx
call fcn.0046d0b4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4d2350
mov eax, dword [ebp - 8]
call fcn.0040ba30
test al, al
jne 0x4d218b
push 0x10
lea edx, [ebp - 0x24]
mov eax, dword [0x4d5958]
mov eax, dword [eax]
call fcn.00486114
mov eax, dword [ebp - 0x24]
call fcn.004049ec
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4d5678]
call fcn.00406560
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00404838
mov eax, dword [ebp - 0x28]
call fcn.004049ec
push eax
mov eax, ebx
call fcn.0046d0b4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4d2350
push 2
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a3f4]
call fcn.0041f22c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d2345
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
call fcn.004029d4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4d2328
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0041ef40
push 0
mov eax, dword [ebp - 4]
call fcn.004049ec
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov esi, eax
test esi, esi
jne 0x4d2240
push 0x10
lea edx, [ebp - 0x30]
mov eax, dword [0x4d5958]
mov eax, dword [eax]
call fcn.00486114
mov eax, dword [ebp - 0x30]
call fcn.004049ec
push eax
lea edx, [ebp - 0x34]
mov eax, dword [0x4d58c8]
call fcn.00406560
mov eax, dword [ebp - 0x34]
call fcn.004049ec
push eax
mov eax, ebx
call fcn.0046d0b4
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.00403f54
call fcn.00403f54
jmp 0x4d2350
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetUserDefaultLangID
push eax
push 0x4d2388
push 0x4d2394
push esi
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4d22bd
push 0x10
lea edx, [ebp - 0x38]
mov eax, dword [0x4d5958]
mov eax, dword [eax]
call fcn.00486114
mov eax, dword [ebp - 0x38]
call fcn.004049ec
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4d58f8]
call fcn.00406560
mov eax, dword [ebp - 0x3c]
call fcn.004049ec
push eax
mov eax, ebx
call fcn.0046d0b4
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.00403f54
call fcn.00403f54
jmp 0x4d2350
push 0
push esi
call sub.kernel32.dll_EndUpdateResourceA
test eax, eax
jne 0x4d2312
push 0x10
lea edx, [ebp - 0x40]
mov eax, dword [0x4d5958]
mov eax, dword [eax]
call fcn.00486114
mov eax, dword [ebp - 0x40]
call fcn.004049ec
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x4d5a44]
call fcn.00406560
mov eax, dword [ebp - 0x44]
call fcn.004049ec
push eax
mov eax, ebx
call fcn.0046d0b4
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.00403f54
call fcn.00403f54
jmp 0x4d2350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d232f
mov eax, dword [ebp - 0x14]
call fcn.004029f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d237f
lea eax, [ebp - 0x44]
mov edx, 0xc
call fcn.00404550
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404550
ret