Function at 0x43b430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x18], 0xbcbdbebf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov word [esp + 0x24], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x43b4ab
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + ecx]
add edx, 0x73011cc8
add eax, 0x73011cc8
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add al, 0x88
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x43b470
mov esi, dword [esp + 0x18]
mov eax, dword [0x446c20]
test eax, eax
je 0x43b4fc
xor ecx, ecx
mov edx, dword [0x446c24]
cmp dword [edx + ecx*8], 0x2286b4e
je 0x43b4d0
inc ecx
cmp eax, ecx
jne 0x43b4c0
jmp 0x43b4fc
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43b4fc
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x446c28]
push eax
call fcn.00437df0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43b78e
push dword [esp + 0x10]
call fcn.00435ff0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0xbcbdbebf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov word [esp + 0x24], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xd
ja 0x43b58d
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + edx]
add esi, 0x73011cc8
add ecx, 0x73011cc8
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
add cl, 0x88
mov edx, dword [esp]
mov byte [esp + edx + 0x18], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xe
jb 0x43b550
mov esi, dword [esp + 0x18]
mov ecx, dword [0x446c20]
test ecx, ecx
je 0x43b5ee
mov edi, esi
xor edx, edx
mov esi, dword [0x446c24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2286b4e
je 0x43b5c2
inc edx
cmp ecx, edx
jne 0x43b5b0
mov esi, edi
jmp 0x43b5ee
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43b5ee
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x446c28]
push ecx
call fcn.00437df0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43b785
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x43b6ec
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43b6e5
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [edi]
cmp edi, eax
jb 0x43b61c
mov edi, eax
test edi, edi
je 0x43b6dd
mov eax, edi
mov edi, ebx
add edi, 0x14
mov dword [esp + 8], eax
and eax, 3
mov dword [esp + 4], ebx
mov dword [esp + 0xc], esi
je 0x43b673
xor esi, esi
nop
nop
movzx ecx, word [edi]
xor ebx, ebx
test cx, cx
setne bl
lea edi, [edi + ebx*2]
mov word [edx], cx
add edx, 2
inc esi
cmp eax, esi
jne 0x43b640
mov eax, dword [esp + 8]
sub eax, esi
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
cmp dword [esp + 8], 4
jae 0x43b680
jmp 0x43b6dd
mov eax, dword [esp + 8]
cmp dword [esp + 8], 4
jb 0x43b6dd
nop
nop
movzx ecx, word [edi]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx], cx
lea ecx, [edi + ebx*2]
movzx esi, word [edi + ebx*2]
xor ebx, ebx
test si, si
setne bl
mov word [edx + 2], si
lea esi, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 4], cx
lea ecx, [esi + ebx*2]
movzx esi, word [esi + ebx*2]
xor ebx, ebx
test si, si
setne bl
lea edi, [ecx + ebx*2]
mov word [edx + 6], si
add edx, 8
add eax, 0xfffffffc
jne 0x43b680
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [edx], 0
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edi], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43b6f8
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43b785
mov dword [esp + 4], ebx
mov dword [esp + 0xc], esi
cmp dword [ebp + 0x1c], 0
je 0x43b778
mov ebx, dword [edi]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x43b71d
mov ebx, ecx
mov eax, dword [esp + 4]
mov edx, dword [eax + 8]
add edx, eax
mov ecx, ebx
shr ecx, 2
mov esi, ebx
and esi, 0xfffffffc
mov eax, dword [ebp + 0x1c]
mov edi, eax
add eax, esi
add esi, edx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 3
mov ecx, edx
shr ecx, 1
mov edi, esi
mov dword [esp + 8], esi
mov dword [esp + 0x28], eax
mov edi, eax
mov eax, dword [esp + 8]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
mov edi, dword [ebp + 0x20]
je 0x43b778
xor edx, 1
and edx, ebx
and ebx, 2
movzx ecx, byte [esi + edx]
mov eax, dword [esp + 0x28]
mov byte [eax + ebx], cl
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0xc]
push ebx
call fcn.004360f0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret