Function at 0x1400187f0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.14014ffe0
sub rsp, rax
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov dword [rsp + 0x48], r8d
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rcx + 0x18]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
test rdi, rdi
je 0x140018894
mov qword [rsp + 0x58], rdi
mov eax, 1
lock xadd dword [rdi], eax
inc eax
cmp eax, 1
jle 0x140018882
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rdi + 4], ecx
je 0x140018891
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, dword [rsp + 0x48]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rdi + 4], ecx
inc dword [rdi + 8]
movsxd rdi, r8d
lea rax, [rdi + rdi*4]
cmp byte [rsi + rax*8 + 0x3b8], 0
jne 0x1400188ed
add rax, 0x73
lea rdx, [rsi + rax*8]
mov rcx, r14
call fcn.140006b00
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019226
add dword [rcx + 8], 0xffffffff
mov eax, dword [rcx + 8]
jne 0x1400188d2
xor ebx, ebx
mov dword [rcx + 4], ebx
mov rsi, 0xffffffffffffffff
lock xadd dword [rcx], esi
cmp esi, 1
je 0x140019226
test eax, eax
jmp 0x14001920e
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov r13d, 7
mov qword [rbp - 0x60], r13
xor r8d, r8d
lea rdx, [0x1401c16d8]
lea rcx, [rbp - 0x78]
call fcn.140005060
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov qword [rbp + 8], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], bx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp + 8]
call fcn.140005060
mov byte [rbp + 0x28], bl
lea rcx, [rbp - 0x78]
call fcn.140004ff0
nop
lea rax, [rdi + 0x17]
lea rax, [rax + rax*4]
lea rsi, [rsi + rax*8]
mov qword [rsp + 0x50], rsi
mov byte [rsi + 0x20], bl
lea rax, [rbp + 8]
cmp rsi, rax
je 0x140018991
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
mov rcx, rsi
call fcn.140005060
mov rdx, rsi
lea rcx, [rbp + 0xb8]
call fcn.140006b00
movzx eax, byte [rsi + 0x20]
mov byte [rbp + 0xd8], al
lea rcx, [rbp + 0xb8]
call fcn.140004ff0
nop
lea rcx, [rbp + 8]
call fcn.140004ff0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.140152140
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xbd0]
call fcn.140152140
lea rax, str.Youtube
lea rax, [rax + rdi*8]
mov qword [rsp + 0x40], rax
mov rdx, qword [rax]
mov qword [rbp + 0x78], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x78], bx
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018a20
lea rcx, [rbp + 0x78]
call fcn.140005060
nop
mov r8d, 6
lea rdx, str.Server
lea rcx, [rbp + 0x78]
call fcn.140011ba0
mov r15, rax
mov qword [rbp + 0x180], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
mov r12, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140018a6e
mov r15, qword [rax]
movabs rax, 0x7ffffffffffffffe
cmp r12, 8
jae 0x140018a92
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x198], r13
jmp 0x140018ad1
mov rdi, r12
or rdi, 7
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x180]
call fcn.140005370
mov qword [rbp + 0x180], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.140151a90
mov qword [rbp + 0x198], rdi
mov qword [rbp + 0x190], r12
lea rcx, [rbp + 0x78]
call fcn.140004ff0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rbp + 0x98], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp + 0xa8], xmm0
mov word [rbp + 0x98], bx
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018b10
lea rcx, [rbp + 0x98]
call fcn.140005060
nop
mov r8d, 3
lea rdx, [0x1401c9210]
lea rcx, [rbp + 0x98]
call fcn.140011ba0
mov r15, rax
mov qword [rbp + 0x160], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x170], xmm0
mov r12, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140018b64
mov r15, qword [rax]
cmp r12, 8
jae 0x140018b7e
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x178], r13
jmp 0x140018bc7
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x160]
call fcn.140005370
mov qword [rbp + 0x160], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.140151a90
mov qword [rbp + 0x178], rdi
mov qword [rbp + 0x170], r12
lea rcx, [rbp + 0x98]
call fcn.140004ff0
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rdx, qword [rbp + 0x180]
mov byte [rsp + 0x20], 0
mov r9d, 0x208
lea r8, [rbp + 0x1c0]
lea rcx, str.SOFTWAREAMDDVR
call fcn.140006ff0
test al, al
je 0x1400191c3
lea rcx, [rbp + 0x1c0]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140018c21
test rax, rax
je 0x1400191c3
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae rdx, qword [rbp + 0x160]
mov r9d, 0x208
lea r8, [rbp + 0xbd0]
call fcn.1400072d0
test al, al
je 0x1400191c3
mov qword [rbp + 0x130], 0x208
lea rax, [rbp + 0xbd0]
mov qword [rbp + 0x138], rax
mov ecx, 0x10
call fcn.1401567b4
mov r12, rax
mov qword [rsp + 0x40], rax
mov dword [rax], 0x1c9abff8
mov dword [rax + 4], 0xd53b41bb
mov dword [rax + 8], 0xa46d3483
mov dword [rax + 0xc], 0xcffecb11
mov qword [rbp + 0x120], 0x10
mov qword [rbp + 0x128], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x108], rbx
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x130]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400191b4
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3d0]
call fcn.140152140
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 0x3d0]
call fcn.140151a90
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x158], r13
mov word [rbp + 0x140], bx
lea rax, [rbp + 0x1c0]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140018d60
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x140]
call fcn.140005060
nop
mov eax, dword [rsp + 0x48]
cmp eax, 2
je 0x140018f19
cmp eax, 5
je 0x140018e59
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rcx, qword [rbp + 0x140]
mov rax, qword [rbp + 0x150]
lea rdx, [0x1401c9218]
cmp word [rcx + rax*2 - 2], 0x2f
lea rax, [0x1401c16d8]
cmove rdx, rax
mov r8, rsi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140018dd0
lea rcx, [rbp + 0x140]
call fcn.140011ba0
mov qword [rbp - 0x58], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
lea rax, [rbp + 0x3d0]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140018e10
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x58]
call fcn.140005060
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp + 0x140]
call fcn.140011ba0
nop
lea rcx, [rbp - 0x58]
call fcn.140004ff0
jmp 0x14001900c
mov qword [rbp - 0x38], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], bx
mov r8d, 1
lea rdx, [0x1401c87fc]
lea rcx, [rbp - 0x38]
call fcn.140005060
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x140]
call fcn.140011ba0
nop
lea rcx, [rbp - 0x38]
call fcn.140004ff0
mov qword [rbp - 0x18], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], bx
lea rax, [rbp + 0x3d0]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140018ed0
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x18]
call fcn.140005060
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rbp + 0x140]
call fcn.140011ba0
nop
lea rcx, [rbp - 0x18]
call fcn.140004ff0
jmp 0x14001900c
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1b0], rbx
mov qword [rbp + 0x1b8], r13
mov word [rbp + 0x1a0], bx
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
lea rdx, str.stream_key
lea rcx, [rbp + 0x1a0]
call fcn.140005060
nop
lea r9, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae r9, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x140]
mov rdi, qword [rbp + 0x140]
mov r15, qword [rbp + 0x158]
cmp r15, 8
cmovae rcx, rdi
mov r12, qword [rbp + 0x1b0]
mov qword [rsp + 0x20], r12
mov rdx, qword [rbp + 0x150]
call fcn.14000b1d0
cmp rax, 0xffffffffffffffff
je 0x140018fda
lea rdx, [rbp + 0x3d0]
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x140018fb0
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x3d0]
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140029cf0
jmp 0x140018ffb
lea r8, [rbp + 0x140]
cmp r15, 8
cmovae r8, rdi
lea rdx, str.Failed_to_prepare_Stage_TEN_rtmp_URL___s
mov ecx, 6
call fcn.140083970
nop
lea rcx, [rbp + 0x1a0]
call fcn.140004ff0
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov r15, qword [rbp + 0x150]
lea rdi, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rdi, qword [rbp + 0x140]
cmp r15, 8
jae 0x140019048
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x68], xmm0
jmp 0x140019086
mov r13, r15
or r13, 7
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
lea rcx, [rsp + 0x68]
call fcn.140005370
mov qword [rsp + 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140151a90
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x30], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], bx
lea rdx, [rsp + 0x68]
cmp r13, 8
cmovae rdx, qword [rsp + 0x68]
mov r8, r15
lea rcx, [rbp + 0x30]
call fcn.140005060
mov byte [rbp + 0x50], 0
lea rcx, [rsp + 0x68]
call fcn.140004ff0
nop
mov r15, qword [rsp + 0x50]
mov byte [r15 + 0x20], 0
lea rax, [rbp + 0x30]
cmp r15, rax
je 0x140019105
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, r15
call fcn.140005060
mov rdx, r15
lea rcx, [rbp + 0xe0]
call fcn.140006b00
movzx eax, byte [r15 + 0x20]
mov byte [rbp + 0x100], al
lea rcx, [rbp + 0xe0]
call fcn.140004ff0
nop
lea rcx, [rbp + 0x30]
call fcn.140004ff0
mov rdx, r15
lea rcx, [rbp + 0x58]
call fcn.140006b00
lea rax, [rbp + 0x58]
mov qword [rsp + 0x40], rax
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae r9, qword [rbp + 0x58]
mov qword [rsp + 0x20], rbx
xor edx, edx
lea r8d, [rdx + 6]
call fcn.140083ad0
nop
lea rcx, [rbp + 0x58]
call fcn.140004ff0
mov ecx, dword [rbp + 0x110]
lea rdi, [rbp + 0x3d0]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 0x140]
call fcn.140004ff0
mov rcx, r12
call fcn.140155e3c
jmp 0x1400191c8
mov r15, qword [rsp + 0x50]
mov rcx, r12
call fcn.140155e3c
jmp 0x1400191c8
mov r15, qword [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.140004ff0
nop
lea rcx, [rbp + 0x180]
call fcn.140004ff0
mov rdx, r15
mov rcx, r14
call fcn.140006b00
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140019226
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x140019203
mov dword [rax + 4], ebx
lock xadd dword [rax], esi
cmp esi, 1
je 0x140019226
test ecx, ecx
jne 0x140019226
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rax, r14
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x1138]
add rsp, 0x10e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret