Function at 0x41afa6
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x414], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x428], esi
movzx ebx, dx
test esi, esi
jne 0x41afda
xor eax, eax
jmp 0x41b3d4
push edi
call fcn.0041ab63
mov dword [0x42272c], eax
movzx eax, al
and eax, 0x20
or eax, 2
push eax
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x41b3d1
test byte [0x42272c], 0x20
jne 0x41b3d3
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x41b3c4
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
test ecx, ecx
jne 0x41b058
mov dword [ebp - 0x414], eax
xor eax, eax
mov dword [ebp - 0x418], eax
jmp 0x41b064
mov dword [ebp - 0x418], eax
xor eax, eax
mov word [ecx - 2], ax
mov esi, dword [ebp - 0x424]
push 0
push 1
push 0x405504
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x41b355
test bx, bx
jne 0x41b322
mov eax, dword [0x42272c]
test al, 4
je 0x41b279
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
mov dword [ebp - 0x420], eax
cmp ax, cx
jne 0x41b0bf
call fcn.0041ad6e
movzx eax, ax
mov dword [ebp - 0x420], eax
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea ebx, [ebp - 0x208]
lea eax, [ebp - 0xb0]
call fcn.0041af58
mov ebx, dword [ebp - 0x418]
test eax, eax
je 0x41b263
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x15c]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
cmp word [ebp - 0x208], ax
je 0x41b149
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x208]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov eax, 0xc04
cmp word [ebp - 0x420], ax
jne 0x41b161
mov eax, 0x404
jmp 0x41b0b9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov dword [ebp - 0x41c], ecx
cmp cx, word [ebp - 0x420]
je 0x41b209
lea eax, [ebp - 0x15c]
push eax
push ecx
lea ebx, [ebp - 0x208]
lea eax, [ebp - 0xb0]
call fcn.0041af58
mov ebx, dword [ebp - 0x418]
test eax, eax
je 0x41b35b
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x15c]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
cmp word [ebp - 0x208], ax
je 0x41b203
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x208]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov ecx, dword [ebp - 0x41c]
mov eax, 0x409
cmp ax, word [ebp - 0x420]
je 0x41b251
cmp ax, cx
je 0x41b251
lea ecx, [ebp - 0x15c]
push ecx
push eax
xor ebx, ebx
lea eax, [ebp - 0xb0]
call fcn.0041af58
mov ebx, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
xor edx, edx
mov ecx, dword [ebp - 0x414]
push ebx
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
je 0x41b35b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x41b3d3
test al, 3
je 0x41b355
call fcn.0041add1
movzx eax, ax
lea ecx, [ebp - 0x15c]
push ecx
mov dword [ebp - 0x41c], eax
push eax
lea ebx, [ebp - 0x208]
lea eax, [ebp - 0xb0]
call fcn.0041af58
mov ebx, dword [ebp - 0x418]
test eax, eax
je 0x41b35b
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x15c]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
cmp word [ebp - 0x208], ax
je 0x41b311
mov ecx, dword [ebp - 0x414]
push ebx
lea edx, [ebp - 0x208]
mov eax, esi
call fcn.0041ad08
mov edi, eax
test edi, edi
jne 0x41b26b
mov eax, 0x409
cmp ax, word [ebp - 0x41c]
jmp 0x41b21a
test byte [0x42272c], 7
je 0x41b355
lea eax, [ebp - 0x15c]
push eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0xb0]
call fcn.0041af58
mov ebx, dword [ebp - 0x418]
test eax, eax
je 0x41b35b
lea edx, [ebp - 0xb0]
jmp 0x41b253
mov ebx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x424]
test al, 1
je 0x41b3d3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0041ab63
test al, 0x38
je 0x41b3a5
push dword [ebp - 0x414]
mov eax, 0x104
push ebx
push 0x401144
lea ecx, [ebp - 0x410]
call fcn.0041a9c8
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x410]
call fcn.0041aad9
jmp 0x41b3d3
call fcn.0041ab63
push 0
and eax, 0x26
pop eax
setne al
push eax
push 0
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41b3d3
mov esi, dword [ebp - 0x424]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b8aa
leave
ret