Function at 0x140008ba0
Capabilities:
Change the wallpaper
Extract resource via kernel32 functions
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140086240]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r15d, r15d
lea edx, [r15 + 0x65]
xor ecx, ecx
lea r8d, [r15 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140008ec1
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140008ec1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test r14, r14
je 0x140008ec1
test eax, eax
je 0x140008ec1
lea rdx, [rbp + 0xc0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp + 0xc0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140008c62
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.140013bf0
nop
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, rdi
cmp rax, 0xa
jb 0x140008ccf
lea rax, [rdi + 0xa]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 7
cmova rbx, qword [rsp + 0x38]
lea rcx, [rbx + rdi*2]
mov r8d, socket
lea rdx, str.ra1g3k1.bk
call fcn.1400683e0
mov word [rbx + rdi*2 + 0x14], r15w
lea rax, [rsp + 0x38]
jmp 0x140008cf4
mov qword [rsp + 0x20], 0xa
lea r9, str.ra1g3k1.bk
movzx r8d, byte [rsp + 0x30]
mov edx, 0xa
lea rcx, [rsp + 0x38]
call fcn.1400139c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140008d64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ef3
call fcn.14003f0f8
movdqa xmm0, xmmword [0x140079640]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call fcn.140068a80
lea rcx, [rbp - 0x50]
call fcn.14000c2e0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.140010cb0
cmp qword [rbp + 0x38], 0
je 0x140008e1e
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.14000df70
lea rcx, [rbp - 0x48]
call fcn.140010bb0
test rax, rax
jne 0x140008e00
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 8], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
mov edx, dword [rbp + rcx - 0x3c]
and edx, eax
jne 0x140008ef9
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova r8, qword [rbp - 0x78]
xor edx, edx
lea ecx, [rdx + 0x14]
lea r9d, [rdx + 3]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.14000c230
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.140020290
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140008ec1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008eed
call fcn.14003f0f8
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14003f0d0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140045efc
nop
call fcn.140045efc
nop
test dl, 4
je 0x140008f07
lea rbx, str.ios_base::badbit_set
jmp 0x140008f1c
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140002100
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003690
lea rdx, [0x1400848f0]
lea rcx, [rsp + 0x60]
call fcn.140041018
int3