Function at 0x100817b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101834d9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 0
call fcn.10130ef0
mov dword [ebp - 4], 0
xor eax, eax
push 0x28
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x101b9e10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007fb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x80000002
lea ecx, [ebp - 0xac]
call fcn.10131070
mov byte [ebp - 0xa5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10007f50
cmp byte [ebp - 0xa5], 0
jne 0x1008192e
cmp dword [0x10208e74], 0
je 0x1008191c
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1008191c
cmp dword [eax + 0x58], 2
jb 0x1008191c
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xa5], al
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 0x16
push str.create_lock_key_failed
call fcn.10007fb0
push 0x2ec
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp byte [ebp - 0xa5], 0
je 0x10081910
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10007f50
mov esi, dword [ebp - 0xac]
mov byte [ebp - 0xa5], 0
jmp 0x10082117
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 3
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x100819e1
push esi
lea ecx, [ebp - 0xa4]
call fcn.10007680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x64], 0
jne 0x1008199c
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.10007fb0
jmp 0x100819cb
push 1
push 0x101b27c4
call fcn.1000d5e0
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x74]
push eax
call fcn.1000d5e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.10007f50
add esi, 0x18
cmp esi, edi
jne 0x10081961
cmp dword [0x10208e74], 0
je 0x10081aa1
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x10081aa1
cmp dword [eax + 0x58], 2
jb 0x10081aa1
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xa5], al
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x40]
push str.set_reg_spec_proc___s
push eax
call fcn.100bd840
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push 0x2fc
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
push eax
push 2
call fcn.1015aef0
cmp byte [ebp - 0xa5], 0
je 0x10081a95
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10007f50
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x10081fa7
add esi, esi
mov dword [ebp - 0xc4], esi
lea eax, [esi + 1]
push eax
call fcn.1016eb69
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
test edi, edi
je 0x10081ef5
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
push esi
cmovae ecx, dword [ebp - 0x74]
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
mov byte [edi + esi], 0
mov dword [ebp - 0x30], 0
push 0x1e
push str.owM90MwFe7WOUcWSL4bP37cncS
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10008160
mov byte [ebp - 4], 7
push 0x108
mov dword [ebp - 0x44], 0
call fcn.1016e7bd
push 0x102
mov edi, eax
push 0
push edi
mov dword [ebp - 0x44], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [edi + 0x104], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0xb8], eax
jb 0x10081b9a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10081c38
cmp dword [ebp - 0x30], 0
je 0x10081c38
xor dl, dl
xor eax, eax
nop dword [eax + eax]
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jb 0x10081bb0
xor eax, eax
mov word [edi + 0x100], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xbc], eax
movzx esi, dl
mov dl, byte [eax + edi]
mov eax, dword [ebp - 0xb8]
movzx ecx, dl
mov dword [ebp - 0xc0], esi
movzx eax, byte [esi + eax]
add eax, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xb0]
add ecx, eax
movzx eax, cl
lea ecx, [eax + edi]
mov dword [ebp - 0xbc], eax
mov al, byte [ecx]
mov byte [esi + edi], al
mov eax, dword [ebp - 0xc0]
mov byte [ecx], dl
xor edx, edx
mov ecx, dword [ebp - 0x30]
lea eax, [eax + 1]
div ecx
mov eax, esi
inc eax
mov dword [ebp - 0xb0], eax
cmp eax, 0x100
jb 0x10081bd2
mov esi, dword [ebp - 0xc4]
mov dword [edi + 0x104], ecx
test esi, esi
je 0x10081c4d
mov edx, dword [ebp - 0xb4]
mov ecx, edi
push esi
call fcn.100e7230
add esp, 4
push esi
push dword [ebp - 0xb4]
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.10008160
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100e7470
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x10081cc1
mov ecx, eax
call fcn.10008110
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10081cfb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10081cf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081cf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1016eb33
add esp, 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
call fcn.10133f80
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x8c]
cmp eax, esi
je 0x10081d5b
mov ecx, eax
call fcn.10007f50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10007f50
cmp dword [0x10208e74], 0
je 0x10081e2d
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x10081e2d
cmp dword [eax + 0x58], 2
jb 0x10081e2d
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xa5], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push str.spec_proc_cipher_text___s
push eax
call fcn.100bd840
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push 0x313
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
push eax
push 2
call fcn.1015aef0
cmp byte [ebp - 0xa5], 0
je 0x10081e21
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10007f50
push 1
push dword [ebp - 0xb4]
call fcn.1016eb33
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x10081e77
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10081e6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081e6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1016eb33
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 7
push 0x108
push edi
call fcn.1016eb33
add esp, 8
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10081ede
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10081ed4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081ed4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1016eb33
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x10081fa7
cmp dword [0x10208e74], 0
je 0x10081fa7
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x10081fa7
cmp dword [eax + 0x58], 2
jb 0x10081fa7
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xa5], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 0x18
push str.alloc_cipher_text_failed
call fcn.10007fb0
push 0x31a
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp byte [ebp - 0xa5], 0
je 0x10081f9b
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007f50
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.DesktopSpecProc
mov byte [ebp - 0xa5], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007fb0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x8c]
mov edi, dword [ebp - 0xc8]
lea ecx, [ebp - 0xac]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.101319f0
mov byte [ebp - 0xa6], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007f50
cmp byte [ebp - 0xa6], 0
jne 0x100820d8
cmp dword [0x10208e74], 0
mov byte [ebp - 0xa5], 0
je 0x100820d8
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x100820d8
cmp dword [eax + 0x58], 2
jb 0x100820d8
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xa6], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push 0x16
push str.write_spec_proc_failed
call fcn.10007fb0
push 0x322
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp byte [ebp - 0xa6], 0
je 0x100820cc
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007f50
mov esi, dword [ebp - 0xac]
mov eax, dword [esi + 4]
test eax, eax
je 0x100820fc
push 0x101c210c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100820fc
test edi, edi
je 0x100820fc
push edi
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.10007f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10007f50
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.1016eb33
mov al, byte [ebp - 0xa5]
add esp, 8
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret