Function at 0x432d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add eax, esi
sub eax, dword [ebp + 0x18]
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0x28], eax
cmp eax, esi
jbe 0x433027
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov eax, edi
xor eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
lea eax, [eax + ecx*2]
inc eax
mov dword [esp + 0x24], eax
lea eax, [edi - 1]
mov dword [esp + 0x2c], eax
xor eax, eax
xor ebx, ebx
jmp 0x432d8f
mov ecx, ebx
sub ecx, eax
sar ecx, 2
mov edi, dword [ebp + 8]
cmp ebx, dword [edi + 8]
je 0x432dd9
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebx + 4]
add ecx, 4
mov dword [ebx + 4], ecx
mov ebx, ecx
add esi, dword [esp + 0x24]
inc esi
cmp esi, dword [esp + 0x28]
jae 0x433027
test edx, edx
je 0x432d98
cmp byte [edx], 0x3f
je 0x432da2
movzx ecx, byte [esi]
mov edi, dword [ebp + 0x14]
cmp cl, byte [edi]
jne 0x432d84
cmp dword [ebp + 0x18], 2
jb 0x432d60
xor ecx, ecx
jmp 0x432dcc
movzx edx, byte [esi + ecx + 1]
mov edi, dword [ebp + 0x14]
cmp dl, byte [edi + ecx + 1]
mov edx, dword [ebp + 0x1c]
jne 0x432f27
inc ecx
cmp dword [esp + 0x2c], ecx
je 0x432d60
test edx, edx
je 0x432db0
cmp byte [edx + ecx + 1], 0x3f
jne 0x432db0
jmp 0x432dc5
mov dword [esp + 0x20], ecx
inc ecx
mov edx, eax
not edx
and edx, ebx
not ebx
and ebx, eax
sub edx, ebx
sar edx, 2
mov edi, edx
shr edi, 1
add edi, edx
cmp edi, ecx
ja 0x432df9
mov edi, ecx
mov eax, 0xffffffff
cmp edi, 0x40000000
jae 0x432e0d
lea eax, [edi*4]
mov dword [esp + 0x18], edi
mov word [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0xebd4d5e6
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x15
ja 0x432e85
nop
mov edx, dword [esp]
mov ecx, dword [esp]
movzx edi, byte [esp + ecx + 0x30]
lea ecx, [edx + edi]
add ecx, 0x2fe2f15d
add edx, 0x2fe2f15d
and edx, edi
add edx, edx
sub ecx, edx
add cl, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x16
jb 0x432e50
mov ecx, dword [esp + 0x30]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x444a84]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
test edx, edx
mov edi, dword [esp + 0x18]
je 0x43300b
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + 4]
mov ebx, ecx
sub ebx, edx
lea esi, [ebx - 0x4c96485d]
cmp eax, edx
mov edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jae 0x432f2e
mov edx, eax
mov ecx, ebx
shr ecx, 2
mov eax, edi
mov dword [esp + 4], esi
mov esi, edi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
lea edi, [edx + eax]
add eax, esi
mov esi, dword [esp + 4]
mov ecx, ebx
and ecx, 3
mov dword [esp + 8], ecx
shr ecx, 1
mov edx, eax
mov dword [esp + 0xc], edi
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
je 0x432ff0
or esi, 0xfffffffe
add esi, dword [esp + 8]
and ebx, 2
movzx eax, byte [eax + esi + 1]
mov ecx, dword [esp + 0xc]
mov byte [ecx + ebx], al
jmp 0x432ff0
add esi, ecx
jmp 0x432d84
test ebx, ebx
je 0x432ff0
mov edx, dword [esp + 0x10]
lea eax, [edx + esi]
add eax, 0x4c96485c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
lea edi, [eax + esi]
add edi, 0x4c96485c
mov eax, edx
not eax
add eax, ecx
mov esi, ebx
and esi, 3
je 0x432fa6
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
not ecx
add ecx, edx
neg esi
xor edx, edx
mov eax, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [edi + edx], bl
dec edx
inc ecx
cmp esi, edx
jne 0x432f80
add edi, edx
mov esi, edi
mov ebx, dword [esp + 0xc]
add ebx, edx
add eax, edx
mov edi, eax
mov eax, dword [esp + 8]
cmp eax, 3
jae 0x432fb1
jmp 0x432ff0
mov esi, edi
mov edi, dword [esp + 4]
cmp eax, 3
jb 0x432ff0
mov eax, ebx
not eax
lea edx, [ebx + ebx]
add edx, 0xfffffffa
xor ebx, ebx
nop
nop
nop
movzx ecx, byte [edi + ebx*2]
mov byte [esi + ebx*2], cl
movzx ecx, byte [edi + ebx*2 - 1]
mov byte [esi + ebx*2 - 1], cl
movzx ecx, byte [edi + ebx*2 - 2]
mov byte [esi + ebx*2 - 2], cl
movzx ecx, byte [edi + ebx*2 - 3]
mov byte [esi + ebx*2 - 3], cl
add ebx, 0xfffffffe
add eax, 4
add edx, 0xfffffff8
cmp eax, 0xffffffff
jne 0x432fc0
push dword [esp + 0x10]
call fcn.00431b80
add esp, 4
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [ebx], eax
mov edx, dword [esp + 0x20]
lea ecx, [eax + edx*4]
mov dword [ebx + 4], ecx
lea ecx, [eax + edi*4]
mov dword [ebx + 8], ecx
mov ecx, edx
mov edx, dword [ebp + 0x1c]
jmp 0x432d72
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret