Function at 0x10002581c
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
movzx ebx, cx
cmp qword [0x1000848b0], 0
jne 0x100025841
xor eax, eax
jmp 0x100025abe
mov rcx, qword [0x1000848b8]
test rcx, rcx
je 0x10002585b
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [0x1000848b8], 0
test bx, bx
jne 0x10002586f
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x1000844cc], ax
jmp 0x100025876
mov word [0x1000844cc], bx
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0xa
and qword [rsp + 0xa0], 0
mov rbx, qword [0x1000848b0]
test rbx, rbx
je 0x1000258ef
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1000258e7
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.100027a24
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0x38]
xor esi, esi
test rdi, rdi
je 0x100025a6b
xor eax, eax
test rdi, rdi
setne al
test eax, eax
je 0x100025a60
mov rax, rdi
mov rdi, qword [rdi]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
cmp qword [rax + 0x10], rbx
je 0x10002596a
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x100025965
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x20], rbx
and qword [rsp + 0xa8], 0
test rbx, rbx
je 0x10002599c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x100025994
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.100027cd4
test eax, eax
jne 0x1000259ce
test rbx, rbx
je 0x100025a55
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x100025a55
mov rax, qword [rsp + 0x98]
cmp dword [rax - 0x10], 0
je 0x100025a47
lea r8, [0x100004764]
lea rdx, [0x100006274]
lea rcx, [rsp + 0x98]
call fcn.100028044
mov rcx, qword [rsp + 0x98]
call fcn.1000327b4
movzx ecx, word [0x1000844cc]
cmp eax, ecx
jne 0x100025a47
mov rcx, qword [0x1000848b8]
cmp rcx, rbx
je 0x100025a42
test rbx, rbx
je 0x100025a30
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1000848b8]
test rcx, rcx
je 0x100025a3b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000848b8], rbx
mov esi, 1
test rbx, rbx
je 0x100025a55
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rdi, rdi
jne 0x100025930
jmp 0x100025a6b
mov ecx, 0x80004005
call fcn.1000201f8
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x100025a91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x38]
call fcn.100028414
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x100025abc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret