Function at 0x14000cb40
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov dword [rbp - 0x58], 0x69666a61
mov dword [rbp - 0x54], 0x76627265
mov word [rbp - 0x50], 0x6468
mov byte [rbp - 0x4e], bl
mov ecx, ebx
nop dword [rax]
movzx eax, byte [rbp + rcx - 0x58]
mov byte [rsp + rcx + 0x70], al
lea rcx, [rcx + 1]
test al, al
jne 0x14000cbb0
mov ecx, 8
call fcn.140027a60
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.140024fc0
mov rsi, rax
mov dword [rsp + 0x4c], reloc.WS2_32.dll_sendto
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov r12d, 1
test rax, rax
je 0x14000ce97
mov word [rsp + 0x30], bx
mov dword [rsp + 0x28], reloc.WS2_32.dll_sendto
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, 0x1e2
mov rdx, rdi
mov rcx, rsi
call fcn.140024ff0
mov word [rsp + 0x30], bx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r12d
lea r8d, [r12 + 9]
mov rdx, rdi
mov rcx, rsi
call fcn.140024ff0
mov r14d, eax
mov ecx, eax
call fcn.140027a58
mov r15, rax
test rax, rax
je 0x14000ce8e
mov word [rsp + 0x30], bx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8d, [r12 + 9]
mov rdx, rdi
mov rcx, rsi
call fcn.140024ff0
mov r14d, eax
test eax, eax
je 0x14000ce86
mov qword [rbp - 0x58], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x20], 0xf0000000
mov r9d, r12d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000ccd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error___d__CryptAcquireConext_failed._n
call fcn.1400213c0
jmp 0x14000cdc0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14000cd0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error___d__CryptCreateHash_failed._n
call fcn.1400213c0
jmp 0x14000cdb4
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14000cd52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error___d__CryptHashData_failed._n
call fcn.1400213c0
xor edx, edx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x14000cdc0
mov dword [rsp + 0x48], reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x80]
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000cd95
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000cda9
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.1400c0dd0
jmp 0x14000cda9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error___d__CryptGetHashParam_failed._n
call fcn.1400213c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call fcn.140013260
mov r14, rax
lea r8, [rsp + 0x70]
mov rdx, rax
call fcn.1400132f0
mov r13, rax
mov qword [rbp - 0x58], rbx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x800000
mov r8, r13
mov edx, 0x6801
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14000ce14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptDeriveKey_error___d_n
call fcn.140020f50
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r12d
xor edx, edx
mov r12, qword [rbp - 0x58]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x14000ce54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptDecrypt_error___d_n
call fcn.1400213c0
test r12, r12
je 0x14000ce62
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test r13, r13
je 0x14000ce70
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test r14, r14
je 0x14000ce80
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r12d, 1
mov rcx, r15
call fcn.1400277b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [rsp + 0x4c]
lea rcx, str.Post_decryption_length____d__n
call fcn.1400213c0
xor edx, edx
lea r8d, [rdx + 0x76]
lea rcx, [rbp + 0x42]
call fcn.1400c0ac0
xor edx, edx
lea r8d, [rdx + 0x76]
lea rcx, [rbp + 0x112]
call fcn.1400c0ac0
movups xmm0, xmmword [str.0123456789abcdef]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1401319d0]
movups xmmword [rbp - 0x70], xmm1
movzx eax, word [0x1401319e0]
mov word [rbp - 0x60], ax
xor eax, eax
mov dword [rbp - 0x5e], eax
mov word [rbp - 0x5a], ax
mov rdi, qword [rbp - 0x30]
movzx ecx, dil
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp - 0x10], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp - 0xe], ax
movzx ecx, byte [rbp - 0x2f]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp - 0xc], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp - 0xa], ax
movzx ecx, byte [rbp - 0x2e]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp - 8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp - 6], ax
movzx ecx, byte [rbp - 0x2d]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp - 4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp - 2], ax
movzx ecx, byte [rbp - 0x2c]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 2], ax
movzx ecx, byte [rbp - 0x2b]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 6], ax
movzx ecx, byte [rbp - 0x2a]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xa], ax
movzx ecx, byte [rbp - 0x29]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xc], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xe], ax
mov r14, qword [rbp - 0x28]
movzx ecx, r14b
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x10], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x12], ax
movzx ecx, byte [rbp - 0x27]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x14], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x16], ax
movzx ecx, byte [rbp - 0x26]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x18], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x1a], ax
movzx ecx, byte [rbp - 0x25]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x1c], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x1e], ax
movzx ecx, byte [rbp - 0x24]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x20], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x22], ax
movzx ecx, byte [rbp - 0x23]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x24], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x26], ax
movzx ecx, byte [rbp - 0x22]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x28], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x2a], ax
movzx ecx, byte [rbp - 0x21]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x2c], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x2e], ax
mov r15d, dword [rbp - 0x20]
movzx ecx, r15b
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x30], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x32], ax
movzx ecx, byte [rbp - 0x1f]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x34], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x36], ax
movzx ecx, byte [rbp - 0x1e]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x38], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x3a], ax
movzx ecx, byte [rbp - 0x1d]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x3c], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x3e], ax
mov word [rbp + 0x40], bx
movzx ecx, byte [rbp - 0x48]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xc0], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xc2], ax
movzx ecx, byte [rbp - 0x47]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xc4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xc6], ax
movzx ecx, byte [rbp - 0x46]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xc8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xca], ax
movzx ecx, byte [rbp - 0x45]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xcc], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xce], ax
movzx ecx, byte [rbp - 0x44]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xd0], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xd2], ax
movzx ecx, byte [rbp - 0x43]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xd4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xd6], ax
movzx ecx, byte [rbp - 0x42]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xd8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xda], ax
movzx ecx, byte [rbp - 0x41]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xdc], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xde], ax
movzx ecx, byte [rbp - 0x40]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xe0], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xe2], ax
movzx ecx, byte [rbp - 0x3f]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xe4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xe6], ax
movzx ecx, byte [rbp - 0x3e]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xe8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xea], ax
movzx ecx, byte [rbp - 0x3d]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xec], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xee], ax
movzx ecx, byte [rbp - 0x3c]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xf0], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xf2], ax
movzx ecx, byte [rbp - 0x3b]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xf4], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xf6], ax
movzx ecx, byte [rbp - 0x3a]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xf8], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xfa], ax
movzx ecx, byte [rbp - 0x39]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0xfc], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0xfe], ax
movzx ecx, byte [rbp - 0x38]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x100], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x102], ax
movzx ecx, byte [rbp - 0x37]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x104], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x106], ax
movzx ecx, byte [rbp - 0x36]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x108], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x10a], ax
movzx ecx, byte [rbp - 0x35]
mov eax, ecx
shr rax, 4
movzx eax, word [rbp + rax*2 - 0x80]
mov word [rbp + 0x10c], ax
and ecx, 0xf
movzx eax, word [rbp + rcx*2 - 0x80]
mov word [rbp + 0x10e], ax
mov word [rbp + 0x110], bx
lea rdx, [rbp - 0x10]
lea rcx, str.New_Hash______s__n
call fcn.1400213c0
lea rdx, [rbp + 0xc0]
lea rcx, str.Old_Hash______s__n
call fcn.1400213c0
sub rdi, qword [rbp - 0x48]
jne 0x14000d494
mov rdi, r14
sub rdi, qword [rbp - 0x40]
jne 0x14000d494
mov edi, r15d
mov eax, dword [rbp - 0x38]
sub rdi, rax
test rdi, rdi
cmove ebx, r12d
test rsi, rsi
je 0x14000d4b5
mov rcx, rsi
call fcn.140024fd0
mov edx, 8
mov rcx, rsi
call fcn.1400277b4
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140027790
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret