Function at 0x42db00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov edi, dword [ebp + 0x10]
call 0x42db14
pop eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x33], 0
mov dword [esp + 0x2b], 0
mov dword [esp + 0x24], eax
test edi, edi
je 0x42de8d
mov esi, dword [ebp + 0xc]
shl edi, 2
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x44], 0x2e
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
add esi, 2
jmp 0x42dbcf
add esi, 4
add edi, 0xfffffffc
je 0x42de09
movzx eax, word [esi]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x58]
push eax
push dword [ebp + 8]
call fcn.0042df00
add esp, 8
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
or eax, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
jne 0x42dde6
mov dword [esp + 8], edi
movzx edi, word [esi - 2]
dec edi
cmp edi, 4
ja 0x42dcf0
mov edi, dword [edi*4 + 0x42de98]
mov edx, dword [esp + 4]
mov dword [esp], esi
add edi, dword [esp + 0x24]
shr edx, 8
jmp edi
mov edi, dword [esp + 8]
jmp 0x42dbc3
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 4]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], eax
mov dword [edx + 4], 0
mov dword [edx], 0x2e
jmp 0x42de85
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, esi
xor eax, 0x2e
or eax, edx
je 0x42de8d
mov eax, dword [esp + 0x33]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x2b], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x2b]
mov dword [ecx + 0x33], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov dword [ecx], esi
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x40]
mov byte [ecx + 0x2f], al
mov eax, dword [esp + 0x3c]
mov byte [ecx + 0x37], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x49b094
call fcn.00404b80
nop
nop
add byte [eax], al
add byte [0x93000001], bl
add dword [eax], eax
add byte [ecx + 0x47000001], bh
add dword [eax], eax
add ch, dl
add dword [eax], eax
add byte [ebx + 2], cl
add byte [eax], al
add eax, dword [edx]
add byte [eax], al
test al, 2
add byte [eax], al
mov al, byte [0xa8000002]
add al, byte [eax]
add byte [edi + 0x2d000001], ch
add al, byte [eax]
add dh, ch
add dword [eax], eax
add byte [edi - 0x78fffffe], cl
add al, byte [eax]
add byte [edi + 0x3d000002], cl
add dword [eax], eax
add byte [ecx + 2], ch
add byte [eax], al
sbb byte [edx], al
add byte [eax], al
rol dword [edx], 0
add byte [ecx - 0x3efffffe], bh
add al, byte [eax]
add byte [esi + 0x2e], ah
nop dword [eax + eax]
nop