Function at 0x100f908
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1026044]
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
je 0x100f991
test dword [ebp + 0xc], 0xffffffe3
jne 0x100f991
push edi
mov edi, dword [ebp + 0x10]
cmp di, bx
jne 0x100f94c
test byte [ebp + 0xc], 0x10
jne 0x100f995
call fcn.0100f99e
mov dword [0x10260d0], 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 0x100f995
test byte [0x10260d0], 0x20
je 0x10146b7
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001bf0
leave
ret 0xc
xor eax, eax
jmp 0x100f981
xor eax, eax
jmp 0x100f980
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 0x1014cdd
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x10146fb
and dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], eax
jmp 0x101470d
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.010204b7
test eax, eax
je 0x1014cc5
test di, di
jne 0x1014c9d
mov al, byte [0x10260d0]
test al, 4
je 0x1014aac
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
mov dword [ebp - 0x420], eax
cmp ax, cx
jne 0x101475f
call fcn.010205f5
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 0x1014835
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x1014d27
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
cmp word [ebp - 0x208], ax
je 0x1014814
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov eax, 0xc04
cmp word [ebp - 0x420], ax
jne 0x10149e0
mov dword [ebp - 0x420], 0x404
jmp 0x101476b
movzx eax, word [ebp - 0x420]
push eax
push 0x1014de4
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x10148e7
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01020c0d
movzx eax, ax
test ax, ax
je 0x10148e7
movzx eax, ax
push eax
push 0x1014de4
mov eax, esi
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov eax, 0xc04
cmp word [ebp - 0x420], ax
je 0x1014826
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov dword [ebp - 0x424], esi
cmp si, word [ebp - 0x420]
je 0x10149c4
movzx eax, si
push eax
push 0x1014de4
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
lea eax, [ebp - 0x15c]
push eax
push esi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x10149be
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01020c0d
movzx eax, ax
test ax, ax
je 0x10149be
movzx eax, ax
push eax
push 0x1014de4
mov eax, esi
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov esi, dword [ebp - 0x424]
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
je 0x1014c75
cmp ax, si
jmp 0x1014c4d
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x424], eax
cmp ax, word [ebp - 0x420]
je 0x1014a93
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x1014cc5
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
cmp word [ebp - 0x208], ax
je 0x1014a93
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
jne 0x1014b6a
jmp 0x1014c75
test al, 3
je 0x1014cc5
call fcn.01020667
test byte [ebp + 0xc], 8
movzx eax, ax
mov dword [ebp - 0x424], eax
je 0x1014b93
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x1014cc5
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
cmp word [ebp - 0x208], ax
je 0x1014b63
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x424]
je 0x1014c75
lea ecx, [ebp - 0x15c]
push ecx
push eax
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010209f5
mov edx, esi
jmp 0x1014c54
movzx eax, ax
push eax
push 0x1014de4
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x424]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
je 0x1014c41
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01020c0d
movzx eax, ax
test ax, ax
je 0x1014c41
movzx eax, ax
push eax
push 0x1014de4
mov eax, esi
push 0x55
push eax
call fcn.010092c1
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
mov eax, 0x409
cmp ax, word [ebp - 0x424]
je 0x1014c75
mov edx, 0x1014dd0
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
jne 0x1014d2b
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
xor edx, edx
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
je 0x1014d27
jmp 0x1014d2b
test byte [0x10260d0], 7
je 0x1014cc5
test byte [ebp + 0xc], 8
je 0x1014cee
lea eax, [ebp - 0x15c]
push eax
push edi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.010209f5
test eax, eax
jne 0x1014d08
test byte [ebp + 0xc], 0x10
je 0x1014d3e
push dword [ebp + 0x10]
push dword [ebp - 0x414]
call fcn.010204b7
test eax, eax
jne 0x1014d3e
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100f995
movzx eax, di
push eax
push 0x1014de4
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.010092c1
add esp, 0x10
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0xb0]
call fcn.01020ae4
mov ebx, eax
test ebx, ebx
je 0x1014cc5
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x100f980
test byte [ebp - 0x414], 1
je 0x1014db6
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0100f99e
test al, 0x38
je 0x1014d93
push dword [ebp - 0x418]
lea eax, [ebp - 0x410]
push dword [ebp - 0x41c]
push 0x1014dc4
push 0x104
push eax
call fcn.010092c1
add esp, 0x14
push 0
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.01020568
jmp 0x1014db0
call fcn.0100f99e
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]
jmp 0x100f980