Function at 0x43c310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, 0xc0000008
mov dword [esp + 0x14], ecx
cmp dword [ecx + 4], 0
je 0x43c5c2
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
test edx, edx
je 0x43c5c2
mov dword [esp + 8], 0x8b08f1f2
mov eax, dword [esp + 8]
mov ecx, eax
not ecx
and ecx, 0xf3
and eax, 0xc
sub eax, ecx
movzx eax, al
mov dword [esp + 8], 0x8b08f1f2
mov ecx, dword [esp + 8]
mov esi, ecx
not esi
and esi, 0xf3
and ecx, 0xc
sub ecx, esi
shl ecx, 8
movzx esi, cx
or esi, eax
mov dword [esp + 8], 0x8b08f1f2
mov eax, dword [esp + 8]
mov ecx, eax
not ecx
and ecx, 0xf3
and eax, 0xc
sub eax, ecx
mov dword [esp + 8], 0x8b08f1f2
mov edi, dword [esp + 8]
mov ecx, edi
not ecx
and ecx, 0xf3
and edi, 0xc
sub edi, ecx
mov ebx, dword [ebp + 0x10]
movzx eax, al
shl eax, 0x10
or eax, esi
mov esi, dword [ebp + 0xc]
shl edi, 0x18
or eax, edi
mov dword [esp + 8], 0x8b08f1b9
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0x8b08f1ba
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0x8b08f1bb
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0x8b08f1bc
mov ecx, dword [esp + 8]
mov ecx, dword [0x44d628]
test ecx, ecx
je 0x43c443
xor ebx, ebx
mov edi, dword [0x44d62c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x45a3f4b9
je 0x43c423
inc ebx
cmp ecx, ebx
jne 0x43c410
mov ebx, dword [ebp + 0x10]
jmp 0x43c443
mov ecx, dword [edi + ebx*8 + 4]
cmp ecx, eax
mov ebx, dword [ebp + 0x10]
je 0x43c443
push dword [ebp + 8]
push edx
push 2
push dword [0x44d630]
push ecx
call fcn.0043dbc0
add esp, 0x14
cmp esi, 1
mov ecx, ebx
sbb ecx, 0
jl 0x43c5b1
cmp eax, 0xc000010a
jne 0x43c5b1
mov ecx, esi
and ecx, 0x270f
mov eax, ebx
mov ebx, esi
and ebx, 0xffffd8f0
and eax, 0x7fffffff
mov edi, eax
mov eax, ebx
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 0x18], eax
mov eax, edx
mov edx, edi
not edi
imul edi, ecx
add edi, eax
or esi, 0xffffd8f0
mov eax, esi
imul esi, edx
mul ebx
add esi, edx
sub esi, ebx
add eax, dword [esp + 0x18]
adc esi, edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [esp + 4], 0x8b08f1f2
mov eax, dword [esp + 4]
mov ecx, eax
not ecx
and ecx, 0xf3
and eax, 0xc
sub eax, ecx
movzx eax, al
mov dword [esp + 4], 0x8b08f1f2
mov ecx, dword [esp + 4]
mov esi, ecx
not esi
and esi, 0xf3
and ecx, 0xc
sub ecx, esi
shl ecx, 8
movzx esi, cx
or esi, eax
mov dword [esp + 4], 0x8b08f1f2
mov eax, dword [esp + 4]
mov ecx, eax
not ecx
and ecx, 0xf3
and eax, 0xc
sub eax, ecx
mov dword [esp + 4], 0x8b08f1f2
mov ecx, dword [esp + 4]
mov edi, ecx
not edi
and edi, 0xf3
and ecx, 0xc
sub ecx, edi
movzx eax, al
shl eax, 0x10
or eax, esi
shl ecx, 0x18
or eax, ecx
mov dword [esp + 4], 0x8b08f1b9
mov ecx, dword [esp + 4]
mov dword [esp + 4], 0x8b08f1ba
mov ecx, dword [esp + 4]
mov dword [esp + 4], 0x8b08f1bb
mov ecx, dword [esp + 4]
mov dword [esp + 4], 0x8b08f1bc
mov ecx, dword [esp + 4]
mov ecx, dword [0x44d628]
test ecx, ecx
je 0x43c5b1
xor esi, esi
mov edi, dword [0x44d62c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x39c83604
je 0x43c590
inc esi
cmp ecx, esi
jne 0x43c580
jmp 0x43c5b1
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, eax
je 0x43c5b1
lea eax, [esp + 8]
push eax
push 0
push edx
push 3
push dword [0x44d630]
push ecx
call fcn.0043dbc0
add esp, 0x18
test eax, eax
js 0x43c5c2
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.0043c1f0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc