Function at 0x100024014
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movzx ebx, cx
xor ebp, ebp
cmp qword [0x1000828e0], rbp
jne 0x100024040
xor eax, eax
jmp 0x1000242b5
mov rcx, qword [0x1000828e8]
cmp rcx, rbp
je 0x100024059
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000828e8], rbp
cmp bx, bp
jne 0x10002406d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x1000824dc], ax
jmp 0x100024074
mov word [0x1000824dc], bx
lea rcx, [0x100081100]
mov rax, qword [0x100081100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], 0xa
mov qword [rsp + 0xa0], rbp
mov rbx, qword [0x1000828e0]
cmp rbx, rbp
je 0x1000240e7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa0]
cmp rcx, rbp
je 0x1000240df
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0xa0], rbx
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.100025d1c
lea rcx, [0x100081100]
mov rax, qword [0x100081100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0x38]
mov esi, ebp
cmp rdi, rbp
je 0x100024262
mov eax, ebp
cmp rdi, rbp
setne al
cmp eax, ebp
je 0x100024257
mov rax, rdi
mov rdi, qword [rdi]
mov rbx, rbp
mov qword [rsp + 0x20], rbx
cmp qword [rax + 0x10], rbp
je 0x100024163
mov rbx, qword [rax + 0x10]
cmp rbx, rbp
je 0x10002415e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0xa8], rbp
cmp rbx, rbp
je 0x100024194
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rbp
je 0x10002418c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0xa8], rbx
lea r8, [rsp + 0x98]
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.100025f3c
cmp eax, ebp
jne 0x1000241c6
cmp rbx, rbp
je 0x10002424c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x10002424c
mov rax, qword [rsp + 0x98]
cmp dword [rax - 0x10], ebp
je 0x10002423e
lea r8, [0x10000855c]
lea rdx, [0x1000092c4]
lea rcx, [rsp + 0x98]
call fcn.1000261f0
mov rcx, qword [rsp + 0x98]
call fcn.10002f714
movzx ecx, word [0x1000824dc]
cmp eax, ecx
jne 0x10002423e
mov rcx, qword [0x1000828e8]
cmp rcx, rbx
je 0x100024239
cmp rbx, rbp
je 0x100024227
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1000828e8]
cmp rcx, rbp
je 0x100024232
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000828e8], rbx
mov esi, 1
cmp rbx, rbp
je 0x10002424c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
cmp rdi, rbp
jne 0x100024128
jmp 0x100024262
mov ecx, 0x80004005
call fcn.10001f28c
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, ebp
jg 0x100024288
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x38]
call fcn.100026710
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
cmp ecx, ebp
jg 0x1000242b3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret