Function at 0x100025320
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 [0x1000838b0], 0
jne 0x100025345
xor eax, eax
jmp 0x1000255dc
mov rcx, qword [0x1000838b8]
test rcx, rcx
je 0x100025362
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000838b8], 0
test bx, bx
jne 0x100025376
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x1000834cc], ax
jmp 0x10002537d
mov word [0x1000834cc], bx
lea rcx, [0x100082100]
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0xa
mov qword [rsp + 0xa0], 0
mov rbx, qword [0x1000838b0]
test rbx, rbx
je 0x100025408
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x100025400
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.100027694
lea rcx, [0x100082100]
mov rax, qword [0x100082100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0x38]
xor esi, esi
test rdi, rdi
je 0x100025587
xor eax, eax
test rdi, rdi
setne al
test eax, eax
je 0x10002557c
mov rax, rdi
mov rdi, qword [rdi]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
cmp qword [rax + 0x10], rbx
je 0x100025483
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x10002547e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0xa8], 0
test rbx, rbx
je 0x1000254b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1000254b0
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.1000279b8
test eax, eax
jne 0x1000254ea
test rbx, rbx
je 0x100025571
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x100025571
mov rax, qword [rsp + 0x98]
cmp dword [rax - 0x10], 0
je 0x100025563
lea r8, [0x1000046e4]
lea rdx, [0x1000061f4]
lea rcx, [rsp + 0x98]
call fcn.100027d88
mov rcx, qword [rsp + 0x98]
call fcn.1000324f4
movzx ecx, word [0x1000834cc]
cmp eax, ecx
jne 0x100025563
mov rcx, qword [0x1000838b8]
cmp rcx, rbx
je 0x10002555e
test rbx, rbx
je 0x10002554c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1000838b8]
test rcx, rcx
je 0x100025557
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1000838b8], rbx
mov esi, 1
test rbx, rbx
je 0x100025571
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rdi, rdi
jne 0x100025449
jmp 0x100025587
mov ecx, 0x80004005
call fcn.10001fd10
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1000255af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x38]
call fcn.100028188
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 0x1000255da
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