Function at 0x10013830
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a586
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x1016f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0x92], 0
mov dword [ebp - 0x98], 0
call fcn.1009c010
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.10004bf0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], 0
mov eax, dword [esi + 4]
test eax, eax
jne 0x100138e4
mov byte [ebp - 0x91], 1
jmp 0x1001392f
push str.RegOpenKeyExW
push eax
call edi
mov edx, eax
test edx, edx
jne 0x100138fb
mov byte [ebp - 0x91], 1
jmp 0x1001392f
mov ecx, dword [esi]
lea edi, [ebp - 0x90]
push edi
or ecx, 0x20019
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call edx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
setne byte [ebp - 0x91]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001396d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001443d
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x91], al
je 0x10013a88
cmp dword [0x1017651c], eax
je 0x100143fe
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x100143fe
cmp dword [eax + 0x58], 2
jb 0x100143fe
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x91], 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], 2
lea ecx, [ebp - 0x28]
push 0x18
push str.open_reg_lock_key_failed
call fcn.10004bf0
push 0x109
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x91], 0
je 0x10013a31
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10013a6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014442
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100143fe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
push 0xf
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
push str.DesktopSpecProc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10004bf0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x98]
call fcn.1009c550
mov byte [ebp - 0x92], al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10013b26
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013b1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014447
push edx
push ecx
call fcn.100da665
add esp, 8
mov esi, dword [ebp - 0x98]
xor eax, eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov eax, dword [esi + 4]
test eax, eax
je 0x10013b6a
push 0x10148cbc
push eax
call edi
test eax, eax
je 0x10013b6a
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x10013b6a
push ecx
call eax
mov dword [ebp - 0x90], 0
cmp byte [ebp - 0x92], 0
jne 0x10013caf
cmp dword [0x1017651c], 0
je 0x10013c6e
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x10013c6e
cmp dword [eax + 0x58], 2
jb 0x10013c6e
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x91], 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], 5
lea ecx, [ebp - 0x28]
push 0x19
push str.read_reg_spec_proc_failed
call fcn.10004bf0
push 0x112
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x91], 0
je 0x10013c1c
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10013c5a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001444c
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100143ee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100143e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
jmp 0x100143e4
cmp dword [0x1017651c], 0
je 0x10013db4
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x10013db4
cmp dword [eax + 0x58], 2
jb 0x10013db4
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x91], 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], 6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push str.read_reg_spec_proc___s
push eax
call fcn.100c0730
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push 0x116
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x91], 0
je 0x10013d62
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10013da0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014456
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], 0
jne 0x10013dc6
mov byte [ebp - 0x92], 1
jmp 0x10013c6e
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x74]
call fcn.1009b6c0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x58]
call fcn.10040a30
mov edi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
cmp eax, edi
je 0x10013e55
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10013e21
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10013e8d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
inc eax
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.100dabf9
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
test edi, edi
jne 0x10013ffb
cmp dword [0x1017651c], eax
je 0x10013fac
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x10013fac
cmp dword [eax + 0x58], 2
jb 0x10013fac
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x91], al
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push 0x17
push str.alloc_plain_text_failed
call fcn.10004bf0
push 0x125
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x91], 0
je 0x10013f5a
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10013f98
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10013fe4
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
jmp 0x10013c6e
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0x74]
push eax
push edi
call fcn.100f2130
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov byte [eax + edi], 0
push 0x1e
push str.owM90MwFe7WOUcWSL4bP37cncS
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10011ff0
mov byte [ebp - 4], 0xa
push 0x108
mov dword [ebp - 0x5c], 0
call fcn.100da635
push 0x102
mov edi, eax
push 0
push edi
mov dword [ebp - 0x5c], edi
call fcn.100f2c30
add esp, 0x10
mov dword [edi + 0x104], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xa8], eax
jb 0x100140a7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x10014149
cmp dword [ebp - 0x18], 0
je 0x10014149
xor dl, dl
xor eax, eax
mov byte [edi + eax], al
inc eax
cmp eax, 0x100
jb 0x100140b5
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov word [edi + 0x100], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
nop word [eax + eax]
movzx edi, dl
mov dl, byte [esi + eax]
mov eax, dword [ebp - 0xa8]
movzx ecx, dl
mov dword [ebp - 0xa4], edi
movzx eax, byte [edi + eax]
add eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0x9c]
add ecx, eax
movzx eax, cl
lea ecx, [esi + eax]
mov dword [ebp - 0xac], eax
mov al, byte [ecx]
mov byte [esi + edi], al
mov eax, dword [ebp - 0xa4]
mov byte [ecx], dl
xor edx, edx
mov ecx, dword [ebp - 0x18]
lea eax, [eax + 1]
div ecx
mov eax, edi
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, 0x100
jb 0x100140e0
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x98]
mov dword [edi + 0x104], ecx
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x10014164
mov edx, dword [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.100409a0
add esp, 4
mov edx, dword [ebp - 0xb0]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0xa4], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100141a0
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10004bf0
mov byte [ebp - 4], 0xc
cmp dword [0x1017651c], 0
je 0x100142cf
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x100142cf
cmp dword [eax + 0x58], 2
jb 0x100142cf
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x91], al
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x58]
push str.spec_proc_plain_text___s
push eax
call fcn.100c0730
add esp, 0xc
lea eax, [ebp - 0x58]
mov ecx, 0x1017651c
push 0x132
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x91], 0
je 0x1001427d
lea eax, [ebp - 0x58]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100142bb
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100142b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push dword [ebp - 0xb4]
mov edx, 0x7c
lea ecx, [ebp - 0x8c]
call fcn.10099d30
add esp, 4
mov byte [ebp - 0x92], 1
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x10014330
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014326
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xa
push 0x108
push edi
call fcn.100da665
add esp, 8
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1001439a
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014390
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014451
push ecx
push edx
call fcn.100da665
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10013fe4
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013fda
jmp 0x10014451
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100da665
mov al, byte [ebp - 0x92]
add esp, 8
mov dword [ebp - 0x98], 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.100da624
mov esp, ebp
pop ebp
ret 4
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
call fcn.100f5ab9
int3