Function at 0x10018a70
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 [0x1013de00]
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x1013deb0]
xor esi, esi
movups xmmword [ebp - 0x24], xmm0
push ebx
movaps xmm0, xmmword [str._Ompivzm_i.1_]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax + eax]
cmp esi, 0x2f
jb 0x10018abc
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x33]
xor bl, byte [ebp - 0x34]
cmp esi, 0x2f
jb 0x10018adf
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x33], bl
inc esi
cmp esi, 0x2e
jb 0x10018aa0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10152758
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10018c08
push 0x10152754
push 0
push 0
push 0x8004
push dword [0x10152758]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10018c08
movaps xmm0, xmmword [0x1013d690]
xor esi, esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x2f772126
movaps xmm0, xmmword [0x1013dec0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x25733507
movaps xmm0, xmmword [0x1013dd00]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x66373d12
mov word [ebp - 4], 0x3a
nop word [eax + eax]
cmp esi, 0x3d
jb 0x10018b8c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x3f]
xor bl, byte [ebp - 0x40]
cmp esi, 0x3d
jb 0x10018baf
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x3f], bl
inc esi
cmp esi, 0x3c
jb 0x10018b70
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10152754]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10018c08
push 0x10152750
push 0x800000
push dword [0x10152754]
push 0x6801
push dword [0x10152758]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10018c08
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 [0x1015274c], eax
call fcn.10074840
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10074d10
push 0x10018900
push 0x10152748
call fcn.10074550
call fcn.100748a0
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
pop ebx
test eax, eax
jne 0x10018c77
mov dword [0x10152748], 0x60f6e0
call fcn.10074840
call esi
push eax
call fcn.10074d10
push 0x10018900
push 0x10152748
call fcn.100740c0
call fcn.100748a0
call fcn.10074840
call esi
push eax
call fcn.10074d10
push 0x10018930
push 0x10152744
call fcn.10074550
call fcn.100748a0
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018cd4
mov dword [0x10152744], 0x60eab0
call fcn.10074840
call esi
push eax
call fcn.10074d10
push 0x10018930
push 0x10152744
call fcn.100740c0
call fcn.100748a0
pop esi
mov esp, ebp
pop ebp
ret