Function at 0x10012a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f936
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10160068]
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.10090cf0
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.1000b730
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 0x10012ab4
mov byte [ebp - 0x91], 1
jmp 0x10012aff
push str.RegOpenKeyExW
push eax
call edi
mov edx, eax
test edx, edx
jne 0x10012acb
mov byte [ebp - 0x91], 1
jmp 0x10012aff
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 0x10012b3d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012b33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001360d
push edx
push ecx
call fcn.100cf0c8
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 0x10012c58
cmp dword [0x10166724], eax
je 0x100135ce
push ecx
mov ecx, 0x10166724
call fcn.100b50c0
mov eax, dword [0x10166724]
cmp byte [eax + 0x54], 0
je 0x100135ce
cmp dword [eax + 0x58], 2
jb 0x100135ce
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.1000b730
push 0x108
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
push 2
call fcn.100b5af0
cmp byte [ebp - 0x91], 0
je 0x10012c01
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10012c3f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012c35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013612
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100135ce
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.1000b730
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.10091230
mov byte [ebp - 0x92], al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10012cf6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012cec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013617
push edx
push ecx
call fcn.100cf0c8
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 0x10012d3a
push 0x1013e85c
push eax
call edi
test eax, eax
je 0x10012d3a
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x10012d3a
push ecx
call eax
mov dword [ebp - 0x90], 0
cmp byte [ebp - 0x92], 0
jne 0x10012e7f
cmp dword [0x10166724], 0
je 0x10012e3e
push ecx
mov ecx, 0x10166724
call fcn.100b50c0
mov eax, dword [0x10166724]
cmp byte [eax + 0x54], 0
je 0x10012e3e
cmp dword [eax + 0x58], 2
jb 0x10012e3e
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.1000b730
push 0x111
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
push 2
call fcn.100b5af0
cmp byte [ebp - 0x91], 0
je 0x10012dec
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10012e2a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012e20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001361c
push edx
push ecx
call fcn.100cf0c8
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 0x100135be
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100135b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
jmp 0x100135b4
cmp dword [0x10166724], 0
je 0x10012f84
push ecx
mov ecx, 0x10166724
call fcn.100b50c0
mov eax, dword [0x10166724]
cmp byte [eax + 0x54], 0
je 0x10012f84
cmp dword [eax + 0x58], 2
jb 0x10012f84
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.100b5f90
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push 0x115
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
push eax
push 2
call fcn.100b5af0
cmp byte [ebp - 0x91], 0
je 0x10012f32
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10012f70
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012f66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013626
push edx
push ecx
call fcn.100cf0c8
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 0x10012f96
mov byte [ebp - 0x92], 1
jmp 0x10012e3e
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x74]
call fcn.100903a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x58]
call fcn.10037de0
mov edi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
cmp eax, edi
je 0x10013025
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10012ff1
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012fe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
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 0x1001305d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013053
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
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.100cf0d6
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
test edi, edi
jne 0x100131cb
cmp dword [0x10166724], eax
je 0x1001317c
push ecx
mov ecx, 0x10166724
call fcn.100b50c0
mov eax, dword [0x10166724]
cmp byte [eax + 0x54], 0
je 0x1001317c
cmp dword [eax + 0x58], 2
jb 0x1001317c
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.1000b730
push 0x124
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
push 2
call fcn.100b5af0
cmp byte [ebp - 0x91], 0
je 0x1001312a
lea eax, [ebp - 0x28]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10013168
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001315e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
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 0x100131b4
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100131aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
jmp 0x10012e3e
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0x74]
push eax
push edi
call fcn.100e6c00
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.100111c0
mov byte [ebp - 4], 0xa
push 0x108
mov dword [ebp - 0x5c], 0
call fcn.100ced35
push 0x102
mov edi, eax
push 0
push edi
mov dword [ebp - 0x5c], edi
call fcn.100e7700
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 0x10013277
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x10013319
cmp dword [ebp - 0x18], 0
je 0x10013319
xor dl, dl
xor eax, eax
mov byte [edi + eax], al
inc eax
cmp eax, 0x100
jb 0x10013285
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 0x100132b0
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x98]
mov dword [edi + 0x104], ecx
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x10013334
mov edx, dword [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.10037d50
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 0x10013370
sub ecx, dword [ebp - 0xa4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.1000b730
mov byte [ebp - 4], 0xc
cmp dword [0x10166724], 0
je 0x1001349f
push ecx
mov ecx, 0x10166724
call fcn.100b50c0
mov eax, dword [0x10166724]
cmp byte [eax + 0x54], 0
je 0x1001349f
cmp dword [eax + 0x58], 2
jb 0x1001349f
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.100b5f90
add esp, 0xc
lea eax, [ebp - 0x58]
mov ecx, 0x10166724
push 0x131
push str.RC::RCManagerApiHook::GetOtherDesktopInjectSpecProcName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safeexpmon_src_rcmanagerapihook.cpp
push eax
push 2
call fcn.100b5af0
cmp byte [ebp - 0x91], 0
je 0x1001344d
lea eax, [ebp - 0x58]
mov ecx, 0x10166724
push eax
call fcn.100b5e10
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1001348b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013481
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
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.1008ea50
add esp, 4
mov byte [ebp - 0x92], 1
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x10013500
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100134f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push edx
push ecx
call fcn.100cf0c8
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.100cf0c8
add esp, 8
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1001356a
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013560
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013621
push ecx
push edx
call fcn.100cf0c8
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 0x100131b4
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100131aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100131aa
jmp 0x10013621
push edx
push ecx
call fcn.100cf0c8
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.100cf0c8
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.100ceb24
mov esp, ebp
pop ebp
ret 4
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
int3