Function at 0x100161b0
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x1010da80]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1010da10]
movups xmmword [ebp - 0x24], xmm0
push esi
movaps xmm0, xmmword [str.8_v_4_2____juk]
xor esi, esi
movups xmmword [ebp - 0x14], xmm0
nop dword [eax + eax]
cmp esi, 0x2f
jb 0x100161fc
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1003dac0
add esp, 0xc
mov bl, byte [ebp + esi - 0x33]
xor bl, byte [ebp - 0x34]
cmp esi, 0x2f
jb 0x1001621f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1003dac0
add esp, 0xc
mov byte [ebp + esi - 0x33], bl
inc esi
cmp esi, 0x2e
jb 0x100161e0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10120670
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10016348
push 0x1012066c
push 0
push 0
push 0x8004
push dword [0x10120670]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10016348
movaps xmm0, xmmword [0x1010db30]
xor esi, esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x237b2d2a
movaps xmm0, xmmword [0x1010de60]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x297f390b
movaps xmm0, xmmword [0x1010dd60]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x6a3b311e
mov word [ebp - 4], 0x36
nop word [eax + eax]
cmp esi, 0x3d
jb 0x100162cc
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1003dac0
add esp, 0xc
mov bl, byte [ebp + esi - 0x3f]
xor bl, byte [ebp - 0x40]
cmp esi, 0x3d
jb 0x100162ef
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.1003dac0
add esp, 0xc
mov byte [ebp + esi - 0x3f], bl
inc esi
cmp esi, 0x3c
jb 0x100162b0
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x1012066c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10016348
push 0x10120668
push 0x800000
push dword [0x1012066c]
push 0x6801
push dword [0x10120670]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10016348
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10120664], eax
call fcn.1004bfc0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1004c490
push 0x10015f50
push 0x10120660
call fcn.1004bcd0
call fcn.1004c020
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100163b6
mov dword [0x10120660], 0x60f6e0
call fcn.1004bfc0
call esi
push eax
call fcn.1004c490
push 0x10015f50
push 0x10120660
call fcn.1004b840
call fcn.1004c020
call fcn.1004bfc0
call esi
push eax
call fcn.1004c490
push 0x10016040
push 0x1012065c
call fcn.1004bcd0
call fcn.1004c020
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10016413
mov dword [0x1012065c], 0x60eab0
call fcn.1004bfc0
call esi
push eax
call fcn.1004c490
push 0x10016040
push 0x1012065c
call fcn.1004b840
call fcn.1004c020
pop esi
pop ebx
mov esp, ebp
pop ebp
ret