Function at 0x4341f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x4c]
xor ecx, ecx
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x434200
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x2c], cx
add ecx, 2
mov word [esp + 0x2e], cx
mov dword [esp + 0x30], eax
mov ecx, dword [0x441654]
mov ebx, 0xffffffff
test ecx, ecx
je 0x434482
mov eax, dword [0x441658]
add eax, 8
nop
cmp dword [eax - 8], 0x15bd542c
je 0x434254
add eax, 0xc
dec ecx
jne 0x434240
jmp 0x434482
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], 0x900000c2
mov dword [esp + 0x20], 0xd2ff0000
mov dword [esp + 0x1c], 0xba00
mov dword [esp + 0x18], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x19], eax
mov eax, dword [0x44165c]
mov dword [esp + 0x1e], eax
mov word [esp + 0x25], 0x18
mov dword [esp], 0
mov dword [esp + 0x14], 0x10
lea eax, [esp + 0x14]
mov esi, esp
push 0x40
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
call dword [0x441660]
mov edi, dword [esp]
lea ebp, [esp + 0x18]
mov eax, ebp
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x2c]
push ecx
push 0
push 0
push 2
push eax
push dword [esp + 0x5c]
call dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
call dword [0x441664]
cmp ebx, 0xc0000023
jne 0x434482
push dword [esp + 0xc]
call fcn.0042eb60
add esp, 4
mov edi, eax
mov ecx, dword [0x441654]
mov ebx, 0xffffffff
test ecx, ecx
je 0x434479
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
mov eax, dword [0x441658]
add eax, 8
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0x15bd542c
je 0x434354
add eax, 0xc
dec ecx
jne 0x434340
jmp 0x434479
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], 0x900000c2
mov dword [esp + 0x20], 0xd2ff0000
mov dword [esp + 0x1c], 0xba00
mov dword [esp + 0x18], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x19], eax
mov eax, dword [0x44165c]
mov dword [esp + 0x1e], eax
mov word [esp + 0x25], 0x18
mov dword [esp], 0
mov dword [esp + 0x14], 0x10
push 0x40
push 0x3000
lea eax, [esp + 0x1c]
push eax
push 0
lea esi, [esp + 0x10]
push esi
push 0xffffffffffffffff
mov ebx, edx
call dword [0x441660]
mov dword [esp + 8], edi
mov edi, dword [esp]
mov ecx, 4
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ebx
push edi
push 2
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x5c]
call dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x10], 0
push 0x8000
lea eax, [esp + 0x14]
push eax
push esi
push 0xffffffffffffffff
call dword [0x441664]
test ebx, ebx
js 0x434479
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x434415
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov esi, edi
mov ebp, dword [esp + 0x58]
test ebp, ebp
mov edi, dword [esp + 0x54]
je 0x43445b
test edi, edi
je 0x43446e
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x434436
mov ecx, eax
add dword [esp + 4], 0xc
mov edx, ecx
xor edx, 0xfffffffc
mov eax, ecx
or eax, 3
and eax, edx
je 0x43445f
cmp eax, 2
jne 0x43448c
shr ecx, 1
mov eax, dword [esp + 4]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
jmp 0x43446a
mov edi, esi
jmp 0x434479
shr ecx, 2
mov eax, dword [esp + 4]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov esi, dword [esp + 8]
mov edi, esi
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
push edi
call fcn.0042ebb0
add esp, 4
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
je 0x43446e
mov esi, ecx
and esi, 7
je 0x4344b8
xor edx, edx
mov ebp, dword [esp + 4]
movzx eax, byte [ebp + edx]
mov byte [edi + edx], al
inc edx
cmp esi, edx
jne 0x43449d
add ebp, edx
mov dword [esp + 4], ebp
add edi, edx
mov eax, ecx
sub eax, edx
jmp 0x4344ba
mov eax, ecx
cmp ecx, 8
mov esi, dword [esp + 8]
jb 0x43446e
xor ecx, ecx
mov ebp, dword [esp + 4]
movzx edx, byte [ebp + ecx]
mov byte [edi + ecx], dl
movzx edx, byte [ebp + ecx + 1]
mov byte [edi + ecx + 1], dl
movzx edx, byte [ebp + ecx + 2]
mov byte [edi + ecx + 2], dl
movzx edx, byte [ebp + ecx + 3]
mov byte [edi + ecx + 3], dl
movzx edx, byte [ebp + ecx + 4]
mov byte [edi + ecx + 4], dl
movzx edx, byte [ebp + ecx + 5]
mov byte [edi + ecx + 5], dl
movzx edx, byte [ebp + ecx + 6]
mov byte [edi + ecx + 6], dl
movzx edx, byte [ebp + ecx + 7]
mov byte [edi + ecx + 7], dl
add ecx, 8
cmp eax, ecx
jne 0x4344c9
jmp 0x43446e