Function at 0x43d7d0
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], 0xa151417
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x43d850
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + ecx]
add edx, 0xbeb852ad
add eax, 0xbeb852ad
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add al, 0x45
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x43d810
mov eax, dword [esp + 0x18]
mov edi, dword [0x448630]
test edi, edi
je 0x43d8b4
xor ecx, ecx
mov edx, dword [0x448634]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xa2f6bc1
je 0x43d88a
mov esi, ecx
and esi, 1
xor ecx, 1
lea ecx, [ecx + esi*2]
cmp ecx, edi
jb 0x43d870
jmp 0x43d8b4
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x43d8b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448638]
push edx
call fcn.0043a550
add esp, 0x24
cmp eax, 0xc0000023
jne 0x43db17
push dword [esp + 0x10]
call fcn.00438b80
add esp, 4
mov ebx, eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], 0xa151417
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xb
ja 0x43d942
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + edx]
add esi, 0xbeb852ad
add ecx, 0xbeb852ad
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x14]
add cl, 0x45
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xc
jb 0x43d900
mov eax, dword [esp + 0x18]
mov ecx, dword [0x448630]
test ecx, ecx
je 0x43d998
xor edx, edx
mov esi, dword [0x448634]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa2f6bc1
je 0x43d970
inc edx
cmp ecx, edx
jne 0x43d960
jmp 0x43d998
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43d998
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x448638]
push ecx
call fcn.0043a550
add esp, 0x24
mov dword [esp + 0x28], eax
test eax, eax
js 0x43db0a
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43da98
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43da91
mov eax, dword [ebx + 0x10]
shr eax, 1
mov edi, dword [esi]
cmp edi, eax
jb 0x43d9ca
mov edi, eax
test edi, edi
je 0x43da8c
mov eax, edi
mov edi, ebx
add edi, 0x14
mov dword [esp + 0xc], eax
and eax, 3
mov dword [esp + 8], ebx
je 0x43da22
xor esi, esi
nop
nop
nop
nop
nop
nop
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 0x43d9f0
mov eax, dword [esp + 0xc]
sub eax, esi
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
cmp dword [esp + 0xc], 4
jae 0x43da30
jmp 0x43da8c
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jb 0x43da8c
nop
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 0x43da30
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov word [edx], 0
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [esi], eax
mov edi, dword [ebp + 0x20]
test ecx, ecx
je 0x43daa4
mov eax, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x43db0a
mov dword [esp + 8], ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x43db01
mov edx, dword [edi]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
cmp edx, eax
jb 0x43dac2
mov edx, eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
add eax, ecx
mov ecx, edx
shr ecx, 2
mov esi, edx
and esi, 0xfffffffc
mov edi, ebx
add ebx, esi
add esi, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
shr ecx, 1
and ecx, 1
mov eax, esi
mov edi, ebx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test dl, 1
mov edi, dword [ebp + 0x20]
je 0x43db01
and edx, 2
movzx eax, byte [esi + edx]
mov byte [ebx + edx], al
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
push ebx
call fcn.00438c40
add esp, 4
mov eax, dword [esp + 0x28]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret