Function at 0x43b6e0
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 + 0x10], 0xa8a9aeaf
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x43b74c
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x1a]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0xba259e1a
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0x4a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x43b710
mov esi, dword [esp + 0x10]
mov eax, dword [0x449c68]
test eax, eax
je 0x43b7ac
xor ecx, ecx
mov edx, dword [0x449c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x2286b4e
je 0x43b780
inc ecx
cmp eax, ecx
jne 0x43b770
jmp 0x43b7ac
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43b7ac
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449c70]
push eax
call fcn.00437ca0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43ba33
push dword [esp + 0x20]
call fcn.00435e30
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0xa8a9aeaf
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 7
ja 0x43b82e
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + 0x1a]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0xba259e1a
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
add cl, 0x4a
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 8
jb 0x43b7f0
mov esi, dword [esp + 0x10]
mov ecx, dword [0x449c68]
test ecx, ecx
je 0x43b88e
mov edi, esi
xor edx, edx
mov esi, dword [0x449c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2286b4e
je 0x43b862
inc edx
cmp ecx, edx
jne 0x43b850
mov esi, edi
jmp 0x43b88e
mov ecx, dword [esi + edx*8 + 4]
mov esi, edi
cmp ecx, edi
je 0x43b88e
lea edx, [esp + 0x20]
push edx
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x449c70]
push ecx
call fcn.00437ca0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x43ba2a
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x43b98c
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43b985
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [edi]
cmp edi, eax
jb 0x43b8bc
mov edi, eax
test edi, edi
je 0x43b97d
mov eax, edi
mov edi, ebx
add edi, 0x14
mov dword [esp + 0xc], eax
and eax, 3
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], esi
je 0x43b913
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 0x43b8e0
mov eax, dword [esp + 0xc]
sub eax, esi
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x18]
cmp dword [esp + 0xc], 4
jae 0x43b920
jmp 0x43b97d
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jb 0x43b97d
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 0x43b920
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
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 0x43b998
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43ba2a
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x1c], 0
je 0x43ba1d
mov ebx, dword [edi]
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x43b9bd
mov ebx, ecx
mov eax, dword [esp + 8]
mov esi, dword [eax + 8]
add esi, eax
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [ebp + 0x1c]
mov edi, eax
add eax, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, ebx
and esi, 3
mov ecx, esi
shr ecx, 1
mov edi, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], eax
mov edi, eax
mov eax, dword [esp + 0xc]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
mov edi, dword [ebp + 0x20]
je 0x43ba1d
mov ecx, ebx
and ecx, 2
xor esi, 1
or ebx, 2
and ebx, esi
movzx ecx, byte [edx + ecx]
mov eax, dword [esp + 0x28]
mov byte [eax + ebx], cl
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov esi, dword [esp + 0x1c]
push ebx
call fcn.00435fa0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret