Function at 0xd0adb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov dword [esp + 0x18], 0x62656467
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0xd0ae3f
nop word cs:[eax + eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + 0x51]
and edx, ecx
mov esi, 0x40c9aae
sub esi, eax
or esi, ecx
not esi
add esi, ecx
sub esi, edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
mov ecx, eax
or ecx, 0xc8
and eax, 0xc8
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0xd0adf0
mov esi, dword [esp + 0x18]
mov eax, dword [0xd1a614]
test eax, eax
je 0xd0ae9c
xor ecx, ecx
mov edx, dword [0xd1a618]
nop word cs:[eax + eax]
cmp dword [edx + ecx*8], 0x2286b4e
je 0xd0ae70
inc ecx
cmp eax, ecx
jne 0xd0ae60
jmp 0xd0ae9c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0xd0ae9c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0xd1a61c]
push eax
call fcn.00d07360
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0xd0b0ee
push dword [esp + 0x10]
call fcn.00d05090
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0x62656467
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xb
ja 0xd0af40
nop word cs:[eax + eax]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + 0x51]
and esi, edx
mov ebx, 0x40c9aae
sub ebx, ecx
or ebx, edx
not ebx
add ebx, edx
sub ebx, esi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov edx, ecx
or edx, 0xc8
and ecx, 0xc8
add ecx, edx
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xc
jb 0xd0aef0
mov esi, dword [esp + 0x18]
mov ecx, dword [0xd1a614]
test ecx, ecx
je 0xd0af72
mov edi, esi
xor edx, edx
mov esi, dword [0xd1a618]
mov ebx, dword [esp + 8]
nop dword [eax]
cmp dword [esi + edx*8], 0x2286b4e
je 0xd0af78
inc edx
cmp ecx, edx
jne 0xd0af60
mov esi, edi
jmp 0xd0afa4
mov ebx, dword [esp + 8]
jmp 0xd0afa4
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0xd0afa4
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0xd1a61c]
push ecx
call fcn.00d07360
add esp, 0x24
mov esi, eax
test esi, esi
js 0xd0b0e5
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
test edx, edx
je 0xd0b059
mov edi, dword [ebp + 0x10]
test edi, edi
je 0xd0b052
mov ecx, dword [ebx + 0x10]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
cmovb ecx, eax
test ecx, ecx
je 0xd0b047
mov edx, ebx
add edx, 0x14
test cl, 1
mov dword [esp + 0xc], esi
jne 0xd0afe7
mov eax, ecx
jmp 0xd0b006
movzx esi, word [edx]
xor eax, eax
test si, si
setne al
lea edx, [edx + eax*2]
mov word [edi], si
mov esi, dword [esp + 0xc]
mov eax, ecx
not eax
lea eax, [eax + ecx*2]
add edi, 2
cmp ecx, 1
je 0xd0b047
lea ecx, [eax + eax]
nop
movzx esi, word [edx]
xor ebx, ebx
test si, si
setne bl
mov word [edi], si
lea esi, [edx + ebx*2]
movzx ebx, word [edx + ebx*2]
xor edx, edx
test bx, bx
setne dl
lea edx, [esi + edx*2]
mov word [edi + 2], bx
add edi, 4
add ecx, 0xfffffffc
add eax, 0xfffffffe
jne 0xd0b010
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov word [edi], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edx], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0xd0b065
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0xd0b0e5
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0xd0b0d8
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0xc]
cmp eax, edx
cmovb edx, eax
mov eax, dword [ecx + 8]
add eax, ecx
mov ecx, edx
shr ecx, 2
mov ebx, edx
and ebx, 0xfffffffc
mov edi, esi
add esi, ebx
add ebx, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov edi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov edi, esi
mov esi, dword [esp + 0x30]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov edi, dword [ebp + 0x20]
test dl, 1
je 0xd0b0d8
xor eax, 1
and eax, edx
and edx, 2
movzx ecx, byte [ebx + edx]
mov edx, dword [esp + 0x2c]
mov byte [edx + eax], cl
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0xc]
push ebx
call fcn.00d05160
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret