Function at 0x1400a1700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x30], esi
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], si
lea r8d, [rsi + 3]
lea rdx, [0x1404036f8]
lea rcx, [rbp - 0x10]
call fcn.14007ece0
nop
movdqa xmm0, xmmword [0x1404156a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], sil
lea r8d, [rsi + 0xb]
lea rdx, str.LoadLibrary
lea rcx, [rbp - 0x50]
call fcn.14007dce0
nop
lea r8, [0x14040370c]
mov edx, Ordinal_133
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp qword [0x140492d48], rsi
je 0x1400a17da
call fcn.140173ff0
mov qword [0x140492d48], rsi
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
mov edx, ebx
mov rcx, rdi
call fcn.140173c70
mov qword [0x140492d48], rax
lea rcx, [rbp - 0x50]
call fcn.14007ea30
call fcn.1400a3380
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1400af1f0
nop
mov rdx, qword [rax]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
mov dword [rsp + 0x30], 2
cmp qword [rdx + 0x18], 8
jb 0x1400a183b
mov rdx, qword [rdx]
lea r9, [rbp - 0x70]
lea r8, str.lang
call fcn.140136c90
mov rdi, 0xffffffffffffffff
cmp qword [rbp - 0x60], 0
jne 0x1400a1895
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp eax, 0x804
sete al
lea rcx, str.zh_CN
lea rdx, str.en_US
test al, al
cmovne rdx, rcx
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a1880
lea rcx, [rbp - 0x70]
call fcn.14007ece0
nop
mov dword [rsp + 0x30], 1
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400a18cf
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a18cf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a18cf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r9d, 5
lea r8, str.lang_
lea rcx, [rbp - 0x70]
call fcn.14008d210
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov dword [rsp + 0x30], 5
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov r8d, reloc.WLDAP32.dll_Ordinal_14
lea rdx, str.themesdefault
lea rcx, [rbp - 0x30]
call fcn.14007ece0
nop
mov qword [rbp - 0x78], rsi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140142b10
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400a196e
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rcx, [rbp - 0x30]
call fcn.14007ec70
nop
lea rcx, [rbp + 0x10]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x70]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x10]
call fcn.14007ec70
mov al, 1
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret