Function at 0x10007a10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0573
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
call fcn.100de780
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
xor eax, eax
push 7
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
push str.stat002
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.10005390
mov byte [ebp - 4], 2
xor eax, eax
push 0x2b
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0
push str.systemcontrolset001_services2345exprotect
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.10005390
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x9c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
call fcn.100df070
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.10005300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.10005300
test bl, bl
jne 0x10007ca1
push 7
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x9c]
push str.stat002
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.10005390
mov byte [ebp - 4], 4
xor eax, eax
push 0x26
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
push str.systemcontrolset001_servicesysdefmon
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.10005390
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
call fcn.100df070
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.10005300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.10005300
test bl, bl
jne 0x10007ca1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10007c88
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10007c69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007c69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101c8702
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
push 8
push dword [ebp - 0x80]
call fcn.101c8702
add esp, 8
jmp 0x10007e7e
cmp dword [ebp - 0x28], 3
je 0x10007cd7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10007c88
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10007c69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007c69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
sub edi, esi
mov dword [ebp - 0x20], edi
cmp edi, 0x10
ja 0x10007d1b
mov byte [ebp - 4], 0
test esi, esi
je 0x10007c88
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10007d14
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007d14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
jmp 0x10007c6b
xor edx, edx
lea eax, [edi - 0x10]
mov ecx, 0x608
div ecx
test edx, edx
jne 0x10007ce7
push 0x108
mov dword [ebp - 0x2c], 0x434c4148
mov dword [ebp - 0x24], edx
call fcn.101c838c
push 0x102
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x24], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebx + 0x104], 0
mov byte [ebp - 4], 6
xor dh, dh
xor eax, eax
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jb 0x10007d66
xor edi, edi
mov word [ebx + 0x100], 0
xor esi, esi
nop
mov dl, byte [edi + ebx]
movzx eax, dh
inc dh
movzx ecx, dl
and dh, 3
movzx eax, byte [ebp + eax - 0x2c]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [ebx + esi]
mov byte [edi + ebx], al
inc edi
mov byte [ebx + esi], dl
cmp edi, 0x100
jb 0x10007d80
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebx + 0x104], 4
test esi, esi
je 0x10007dd1
test edi, edi
je 0x10007dd1
push edi
mov edx, esi
mov ecx, ebx
call fcn.10089cd0
add esp, 4
mov eax, dword [esi + 0xc]
cmp eax, 0x100
ja 0x10007e0e
mov edx, dword [esi + 8]
imul ecx, eax, 0x608
lea eax, [edx - 0x10]
cmp eax, ecx
jne 0x10007e0e
lea eax, [edx - 0x10]
mov dword [ebp - 0x20], 0
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.10046b50
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x20]
je 0x10007ea5
mov byte [ebp - 4], 1
push 0x108
push ebx
call fcn.101c8702
add esp, 8
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x14]
sub ecx, esi
cmp ecx, 0x1000
jb 0x10007e4e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007d0e
push ecx
push esi
call fcn.101c8702
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
push 8
push dword [ebp - 0x80]
call fcn.101c8702
add esp, 0x10
xor al, al
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x20], 0
jbe 0x10008037
lea ebx, [esi + 0x210]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 7
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebx - 0x200]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007f21
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.10005390
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007f40
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x64]
call fcn.10005390
lea edx, [ebx + 0x200]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007f64
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10005390
mov eax, dword [ebx + 0x400]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x404]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov edi, dword [eax + 4]
cmp dword [eax + 8], edi
je 0x10007fee
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xb8], edi
push eax
mov ecx, edi
call fcn.100086d0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x18]
call fcn.100086d0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x30]
call fcn.100086d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x4c], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x84]
add dword [eax + 4], 0x50
jmp 0x10007ffa
lea ecx, [ebp - 0x7c]
push ecx
push edi
mov ecx, eax
call fcn.10009030
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c]
call fcn.10005300
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x64]
call fcn.10005300
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.10005300
mov eax, dword [ebp - 0x20]
add ebx, 0x608
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0xc]
jb 0x10007ec0
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
push 0x108
push ebx
call fcn.101c8702
add esp, 8
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x14]
sub ecx, esi
cmp ecx, 0x1000
jb 0x10008077
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007d0e
push ecx
push esi
call fcn.101c8702
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
push 8
push dword [ebp - 0x80]
call fcn.101c8702
add esp, 0x10
mov al, 1
jmp 0x10007e80