Function at 0x10076110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173c69
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x101f0014]
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.10123090
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 str.SYSTEMCurrentControlSetControlLOCKSDK
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007cf0
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.10123210
mov byte [ebp - 0xa5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10007c90
cmp byte [ebp - 0xa5], 0
jne 0x1007628e
cmp dword [0x101f4a2c], 0
je 0x1007627c
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x1007627c
cmp dword [eax + 0x58], 2
jb 0x1007627c
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.10007cf0
push 0x2ef
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0xa5], 0
je 0x10076270
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10007c90
mov esi, dword [ebp - 0xac]
mov byte [ebp - 0xa5], 0
jmp 0x10076a77
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 0x10076341
push esi
lea ecx, [ebp - 0xa4]
call fcn.100073c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x64], 0
jne 0x100762fc
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.10007cf0
jmp 0x1007632b
push 1
push 0x101a1654
call fcn.1000d340
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.1000d340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.10007c90
add esi, 0x18
cmp esi, edi
jne 0x100762c1
cmp dword [0x101f4a2c], 0
je 0x10076401
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10076401
cmp dword [eax + 0x58], 2
jb 0x10076401
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.100b1860
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push 0x2ff
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0xa5], 0
je 0x100763f5
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10007c90
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 0x10076907
add esi, esi
mov dword [ebp - 0xc4], esi
lea eax, [esi + 1]
push eax
call fcn.10160a89
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
test edi, edi
je 0x10076855
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.10007ea0
mov byte [ebp - 4], 7
push 0x108
mov dword [ebp - 0x44], 0
call fcn.101606dd
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 0x100764fa
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10076598
cmp dword [ebp - 0x30], 0
je 0x10076598
xor dl, dl
xor eax, eax
nop dword [eax + eax]
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jb 0x10076510
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 0x10076532
mov esi, dword [ebp - 0xc4]
mov dword [edi + 0x104], ecx
test esi, esi
je 0x100765ad
mov edx, dword [ebp - 0xb4]
mov ecx, edi
push esi
call fcn.100db3c0
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.10007ea0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100db450
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x10076621
mov ecx, eax
call fcn.10007e50
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 0x1007665b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10076651
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10076651
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10160a53
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.10126120
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x8c]
cmp eax, esi
je 0x100766bb
mov ecx, eax
call fcn.10007c90
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.10007c90
cmp dword [0x101f4a2c], 0
je 0x1007678d
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x1007678d
cmp dword [eax + 0x58], 2
jb 0x1007678d
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.100b1860
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push 0x316
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0xa5], 0
je 0x10076781
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10007c90
push 1
push dword [ebp - 0xb4]
call fcn.10160a53
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x100767d7
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100767cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100767cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10160a53
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.10160a53
add esp, 8
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1007683e
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10076834
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10076834
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10160a53
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x10076907
cmp dword [0x101f4a2c], 0
je 0x10076907
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10076907
cmp dword [eax + 0x58], 2
jb 0x10076907
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.10007cf0
push 0x31d
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0xa5], 0
je 0x100768fb
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007c90
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.10007cf0
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.10123b90
mov byte [ebp - 0xa6], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007c90
cmp byte [ebp - 0xa6], 0
jne 0x10076a38
cmp dword [0x101f4a2c], 0
mov byte [ebp - 0xa5], 0
je 0x10076a38
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x10076a38
cmp dword [eax + 0x58], 2
jb 0x10076a38
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.10007cf0
push 0x325
push str.RC::RCMonitorMain::SetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_sfguard_rcsfloadbasemain.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0xa6], 0
je 0x10076a2c
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10007c90
mov esi, dword [ebp - 0xac]
mov eax, dword [esi + 4]
test eax, eax
je 0x10076a5c
push 0x101b2bec
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10076a5c
test edi, edi
je 0x10076a5c
push edi
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.10007c90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.10160a53
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.101606b4
mov esp, ebp
pop ebp
ret