Function at 0x10aa3cf
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x418], ebx
cmp esi, ebx
jne 0x10aa402
xor eax, eax
jmp 0x10aab5b
test dword [ebp + 0xc], 0xffffffe3
jne 0x10aa3fb
push edi
mov edi, dword [ebp + 0x10]
cmp di, bx
jne 0x10aa41e
test byte [ebp + 0xc], 0x10
jne 0x10aaa88
call fcn.010a9cd1
mov dword [0x10b3fcc], eax
movzx eax, al
and eax, 0x20
or eax, 2
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x10aaa88
test byte [0x10b3fcc], 0x20
jne 0x10aab5a
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x10aaa7c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x10aa49a
and dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], eax
jmp 0x10aa4ac
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x41c], ecx
xor ecx, ecx
mov word [eax - 2], cx
push 0
push dword [ebp - 0x414]
call fcn.010a9b92
test eax, eax
je 0x10aaa64
test di, di
jne 0x10aaa3c
mov al, byte [0x10b3fcc]
test al, 4
je 0x10aa84b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
mov dword [ebp - 0x420], eax
cmp ax, cx
jne 0x10aa4fe
call fcn.010a9e10
movzx eax, ax
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0xc]
and eax, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10aa5d4
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aaac8
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
cmp word [ebp - 0x208], ax
je 0x10aa5b3
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov eax, 0xc04
cmp word [ebp - 0x420], ax
jne 0x10aa77f
mov dword [ebp - 0x420], 0x404
jmp 0x10aa50a
movzx eax, word [ebp - 0x420]
push eax
push 0x10aab80
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aa686
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.010aabff
movzx eax, ax
test ax, ax
je 0x10aa686
movzx eax, ax
push eax
push 0x10aab80
mov eax, esi
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov eax, 0xc04
cmp word [ebp - 0x420], ax
je 0x10aa5c5
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov dword [ebp - 0x424], esi
cmp si, word [ebp - 0x420]
je 0x10aa763
movzx eax, si
push eax
push 0x10aab80
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
lea eax, [ebp - 0x15c]
push eax
push esi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aa75d
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.010aabff
movzx eax, ax
test ax, ax
je 0x10aa75d
movzx eax, ax
push eax
push 0x10aab80
mov eax, esi
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov esi, dword [ebp - 0x424]
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
je 0x10aaa14
cmp ax, si
jmp 0x10aa9ec
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x424], eax
cmp ax, word [ebp - 0x420]
je 0x10aa832
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aaa64
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
cmp word [ebp - 0x208], ax
je 0x10aa832
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
jne 0x10aa909
jmp 0x10aaa14
test al, 3
je 0x10aaa64
call fcn.010a9e7f
test byte [ebp + 0xc], 8
movzx eax, ax
mov dword [ebp - 0x424], eax
je 0x10aa932
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aaa64
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
cmp word [ebp - 0x208], ax
je 0x10aa902
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x424]
je 0x10aaa14
lea ecx, [ebp - 0x15c]
push ecx
push eax
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010aa20d
mov edx, esi
jmp 0x10aa9f3
movzx eax, ax
push eax
push 0x10aab80
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x424]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
je 0x10aa9e0
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.010aabff
movzx eax, ax
test ax, ax
je 0x10aa9e0
movzx eax, ax
push eax
push 0x10aab80
mov eax, esi
push 0x55
push eax
call fcn.010343ca
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
mov eax, 0x409
cmp ax, word [ebp - 0x424]
je 0x10aaa14
mov edx, 0x10aab6c
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
jne 0x10aaacc
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
xor edx, edx
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
je 0x10aaac8
jmp 0x10aaacc
test byte [0x10b3fcc], 7
je 0x10aaa64
test byte [ebp + 0xc], 8
je 0x10aaa8f
lea eax, [ebp - 0x15c]
push eax
push edi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010aa20d
test eax, eax
jne 0x10aaaa9
test byte [ebp + 0xc], 0x10
je 0x10aaadc
push dword [ebp + 0x10]
push dword [ebp - 0x414]
call fcn.010a9b92
test eax, eax
jne 0x10aaadc
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x10aab5a
movzx eax, di
push eax
push 0x10aab80
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010343ca
add esp, 0x10
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0xb0]
call fcn.010aa30d
mov ebx, eax
test ebx, ebx
je 0x10aaa64
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x10aab5a
test byte [ebp - 0x414], 1
je 0x10aab54
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.010a9cd1
test al, 0x38
je 0x10aab31
push dword [ebp - 0x418]
lea eax, [ebp - 0x410]
push dword [ebp - 0x41c]
push 0x101ce6c
push 0x104
push eax
call fcn.010343ca
add esp, 0x14
push 0
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.010a9c44
jmp 0x10aab4e
call fcn.010a9cd1
push 0
and eax, 0x26
pop eax
setne al
push eax
push 0
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc