Function at 0xb2068e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, 1
cmovs ebx, ebp
mov ebx, dword [esi + 0x58]
test ebx, ebx
jne 0xda1b06
mov ebx, dword [ebp + 0xc]
cmp esi, 0x1aaa581e
cmp edi, 0x14
jb 0xe4feaa
lea eax, [edi + ebx - 0x14]
jmp 0xe4feeb
mov ecx, dword [ebp + 0x14]
btc ebx, 0x84
not edi
pop edi
clc
pop esi
mov dword [ecx], 4
xor eax, eax
mov bh, dl
pop ebx
mov esp, ebp
bswap bp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx esi, ax
cmovg esi, ebp
push edi
mov edi, dword [ebx]
mov esi, 0x71ec0f01
mov esi, eax
not ax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], edi
mov dword [ebx], 0
call fcn.00e47bf0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
test bl, 0x69
cmp ah, 0x3e
cmp dword [esi + 0x48], 0x112
je 0xb2df3d
cmp dword [esi + 0x4c], 0
je 0xb20793
test edi, edi
jbe 0xb2071d
mov ecx, dword [esi + 0x58]
clc
stc
cmp sp, 0x6480
cmp ecx, 5
jae 0xb2071a
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx + esi + 0x5c], dl
inc dword [esi + 0x58]
inc dword [ebx]
inc eax
sub edi, 1
mov dword [ebp + 0xc], eax
jne 0xb206ec
mov dword [ebp - 4], edi
cmp dword [esi + 0x58], 5
jb 0xb23521
cmp byte [esi + 0x5c], 0
jne 0xda706c
movzx eax, byte [esi + 0x5d]
rol cx, cl
sub edx, esp
movzx ecx, byte [esi + 0x5e]
dec dh
movzx edx, byte [esi + 0x5f]
cmp bx, 0x39e
stc
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0x60]
shl eax, 8
test sp, dx
test esp, 0x508f0be4
stc
or eax, edx
shl eax, 8
xchg dh, dh
setae dl
stc
or eax, ecx
shl dx, 0xba
xchg dh, dl
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], 0xffffffff
movzx edx, sp
test esp, esi
mov dword [esi + 0x4c], 0
mov dword [esi + 0x58], 0
or dx, bp
mov edx, dword [ebp + 8]
cmp dword [esi + 0x24], edx
jae 0xb2fb9c
cmp dword [esi + 0x50], 0
je 0xab1e87
mov ecx, dword [esi + 4]
sal edx, 0xb2
rcl dh, cl
add ecx, dword [esi]
sar edx, cl
ror ah, cl
add eax, esi
mov edx, dword [esi + 0x10]
rcl ax, cl
mov eax, 0x300
cmp bp, ax
shl eax, cl
add eax, 0x736
je 0xb20803
mov ecx, eax
test di, bx
dec edi
cmp ah, 0x57
mov eax, 0x400
mov edi, edx
movzx edx, ax
bsf ax, cx
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
rcl cl, cl
shr ch, cl
mov edi, dword [ebp - 4]
stc
mov ecx, 1
cmp esp, 0x75f1113b
sub eax, eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x50], eax
jmp 0xab1e8f
lea ecx, [edi + ebx]
and edx, ebp
sbb edx, ebp
cwd
lea edx, [esi + 0x5c]
stc
clc
cmp ebx, ecx
je 0xb23503
sub edx, ebx
mov bl, byte [eax]
mov byte [edx + eax], bl
inc eax
cmp esp, eax
cmp eax, ecx
jne 0xb234f3
mov eax, dword [ebp + 0x10]
sal ebx, cl
shr bl, cl
mov dword [esi + 0x58], edi
mov bl, ah
sal bx, cl
sal ebx, 0x76
add dword [eax], edi
movzx eax, ax
rcr esi, 0xfb
sar di, 0xa4
mov eax, dword [ebp + 0x14]
sar esi, 0xe8
neg edi
pop edi
bswap ebx
pop esi
mov dword [eax], 3
sub eax, eax
mov ebx, 0x19426b3e
mov bl, bh
cmovs ebx, edx
pop ebx
mov esp, ebp
mov ebp, ebp
pop ebp
ret
cmp dword [esi + 0x20], 0
jne 0xb2df5c
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
test esi, ecx
or edi, 0x1225278f
cmove bx, di
xor eax, eax
or di, dx
or ebx, 0x96e53f9
cmp dword [esi + 0x20], eax
movzx esi, bx
pop edi
pop esi
setnp al
setne al
not ebx
pop ebx
mov esp, ebp
mov bp, 0x4d6b
xchg ebp, ebp
pop ebp
ret
cmp dword [esi + 0x48], 0
jne 0xb2fbb0
cmp dword [esi + 0x20], 0
je 0xab33ee
mov edx, dword [ebp + 0x14]
bts si, bp
xor di, 0xd90
pop edi
cmp edx, 0x110607a0
sar ebx, cl
cmc
pop esi
mov dword [edx], 2
movsx bx, al
xor ebx, 0x2a5334df
or bh, 0xf8
sub eax, eax
pop ebx
mov esp, ebp
movzx ebp, ax
pop ebp
ret
xor edi, edi
clc
cmp dx, sp
mov dword [ebp - 8], edi
clc
cmp ebx, 0x14
jae 0xda1b54
cmp edi, dword [ebp - 4]
jae 0xda1b51
mov eax, dword [ebp + 0xc]
xor dl, al
mov dl, byte [edi + eax]
cmc
cmp esi, edx
mov byte [ebx + esi + 0x5c], dl
test bp, cx
cmp esp, 0x1f3e21bd
add ebx, ecx
cmp dh, cl
cmp ecx, 0x2e127f4e
lea edi, [edi + ecx]
clc
cmp ebx, 0x14
jb 0xda1b19
mov dword [ebp - 8], edi
mov dword [esi + 0x58], ebx
stc
cmp ebx, 0x14
jae 0xda1b81
lea eax, [esi + 0x5c]
xchg cx, cx
not ecx
push eax
not ecx
mov eax, ebx
mov ecx, esi
call fcn.00ab273a
lea esp, [esp + 4]
test eax, eax
je 0xe500c3
mov edi, dword [ebp + 8]
setno ah
lea eax, [esi + 0x5c]
mov dword [esi + 0x18], eax
push eax
mov eax, esi
call fcn.00daa4a0
test eax, eax
jne 0xda706c
mov ecx, dword [esi + 0x18]
xadd dh, al
mov edx, dword [ebp - 8]
cmp esp, edx
xadd ax, ax
mov ax, di
sub ecx, ebx
sub ecx, esi
rcr ah, cl
test ax, di
lea eax, [edx + ecx - 0x5c]
rcr cl, cl
mov ecx, dword [ebp + 0x10]
add dword [ecx], eax
test edx, esp
cmp ebx, edi
add dword [ebp + 0xc], eax
mov dword [esi + 0x58], 0
cmp edx, edx
sub dword [ebp - 4], eax
cmc
cmp dword [esi + 0x48], 0x112
je 0xb2df3d
mov edi, dword [ebp - 4]
cmovp bx, cx
movzx ebx, di
movsx ebx, bx
mov ebx, dword [ebp + 0x10]
jmp 0xb206da
pop edi
xchg esi, ebx
pop esi
mov eax, 1
movzx ebx, bx
mov ebx, 0x5642695e
pop ebx
mov esp, ebp
not bp
mov ebp, 0x315157aa
pop ebp
ret
push ebx
mov ax, 0x5f87
xchg ah, cl
mov eax, edi
movsx ecx, si
mov ch, 0xc0
movzx ecx, dx
mov ecx, esi
call fcn.00ab273a
lea esp, [esp + 4]
cmp di, bp
cmc
test eax, eax
nop
mov ax, di
movzx ax, dl
mov eax, ebx
je 0xb234db
mov ebx, dword [ebp + 0xc]
not di
bswap di
mov edi, 0x59a62232
mov edi, dword [ebp + 8]
push eax
lahf
mov eax, esi
mov dword [esi + 0x18], ebx
call fcn.00daa4a0
test eax, eax
jne 0xda706c
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0x10]
clc
test bp, 0x3257
cmc
sub eax, ebx
test ah, 0xe5
clc
cmp ebp, ebp
add dword [ecx], eax
add ebx, eax
mov dword [ebp + 0xc], ebx
jmp 0xda1bd3
mov eax, dword [ebp + 0x10]
add dword [eax], edi
sar ebx, 0x54
mov ecx, dword [ebp + 0x14]
cmovge di, dx
bsf bx, sp
btc edi, edi
pop edi
pop esi
rcl bx, 0xa3
xor bh, 0xac
mov dword [ecx], 3
shr ebx, cl
bsr bx, dx
bswap ebx
xor eax, eax
mov bx, bp
movzx ebx, di
pop ebx
mov esp, ebp
bswap ebp
pop ebp
ret