Function at 0x14001ffc0
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r8
mov rbx, rdx
mov r12, rcx
xor ebp, ebp
mov dword [rax + 0x20], ebp
call fcn.1400280cc
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x14002001a
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0xf8], 1
mov rdi, qword [r15]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140020059
cmp rax, qword [rdi - 0x18]
jne 0x140020059
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140020097
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x140020075
call fcn.140003050
int3
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.1400525a0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.14001f850
nop
mov rax, qword [rsp + 0x28]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x140020424
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400200e5
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [0x140080d10]
mov qword [rsp + 0x40], rax
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140020122
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.1400280cc
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x140020152
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.1400292ac
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140027a20
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov dword [rsp + 0x80], edx
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400293c0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140027a20
mov r12, qword [rsp + 0x20]
lea r13, [r12 - 0x10]
cmp dword [r13], 0
je 0x1400203aa
mov rdx, qword [rsp + 0x28]
lea rdi, [rdx - 0x18]
mov rbp, qword [rbx]
sub rbp, 0x18
cmp rdi, rbp
je 0x140020285
cmp dword [rbp + 0x10], 0
jl 0x140020279
mov rcx, qword [rdi]
cmp rcx, qword [rbp]
jne 0x140020279
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14002020d
cmp rax, qword [rdi]
jne 0x14002020d
mov r12, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14002024f
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov r12, rax
test rax, rax
jne 0x140020229
call fcn.140003050
int3
mov eax, dword [rdi + 8]
mov dword [r12 + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [r12 + 0x18]
call fcn.1400525a0
mov eax, esi
lock xadd dword [rbp + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002026a
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r12 + 0x18]
mov qword [rbx], rax
mov r12, qword [rsp + 0x20]
jmp 0x140020285
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.1400036f0
mov rcx, rbx
call fcn.140008c10
movsxd r14, dword [r13]
mov rax, qword [rbx]
mov rdi, r12
sub rdi, rax
sar rdi, 1
mov r13d, dword [rax - 0x10]
lea ebp, [r13 + r14]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebp
or eax, ecx
jge 0x1400202c1
mov edx, ebp
mov rcx, rbx
call fcn.140003380
mov rax, qword [rbx]
cmp rdi, r13
ja 0x1400202cd
lea r12, [rax + rdi*2]
mov rdx, r14
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.1400525a0
test ebp, ebp
js 0x14002039f
mov rax, qword [rbx]
cmp ebp, dword [rax - 0xc]
jg 0x14002039f
mov dword [rax - 0x10], ebp
movsxd rcx, ebp
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
mov rcx, rbx
call fcn.140008c10
xor eax, eax
mov rcx, rsi
lea r12, str.esupdate.dll
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rbp, r12
sub rbp, rax
sar rbp, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x140020356
mov edx, edi
mov rcx, rbx
call fcn.140003380
mov rax, qword [rbx]
cmp rbp, r13
ja 0x140020362
lea r12, [rax + rbp*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.1400525a0
test edi, edi
js 0x140020394
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140020394
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x1400203aa
mov ecx, 0x80070057
call fcn.140003280
int3
mov ecx, 0x80070057
call fcn.140003280
nop
lea rax, [0x140080d10]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
call fcn.140029574
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400203e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140020403
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140020424
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140020445
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140020461
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret