Function at 0x439b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x444998]
mov eax, 0xffffffff
test ecx, ecx
je 0x439dd8
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor edx, edx
mov esi, dword [0x44499c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcf2d66db
je 0x439b83
inc edx
cmp ecx, edx
jne 0x439b70
jmp 0x439dd1
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, 0xffffffff
je 0x439dd1
lea esi, [esp + 0xc]
push esi
push 0
push 0
push 1
push ebp
push edi
push 0x18
push ecx
push dword [0x4449a0]
call fcn.004371f0
add esp, 0x24
cmp eax, 0xc0000023
jne 0x439dd1
push dword [esp + 0xc]
call fcn.00435e00
add esp, 4
mov dword [esp], eax
mov edx, dword [0x444998]
mov eax, 0xffffffff
test edx, edx
je 0x439dc2
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
xor ecx, ecx
mov eax, dword [0x44499c]
nop
nop
nop
nop
nop
nop
cmp dword [eax + ecx*8], 0xcf2d66db
je 0x439c08
inc ecx
cmp edx, ecx
jne 0x439bf0
mov eax, 0xffffffff
jmp 0x439dc2
mov edx, dword [eax + ecx*8 + 4]
cmp edx, 0xffffffff
mov eax, 0xffffffff
je 0x439dc2
push esi
push dword [esp + 8]
mov eax, dword [esp + 8]
push eax
push 1
push ebp
push edi
push 0x18
push edx
push dword [0x4449a0]
call fcn.004371f0
add esp, 0x24
test eax, eax
js 0x439dc2
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
test edx, edx
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
je 0x439d1f
test ebx, ebx
je 0x439d15
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov esi, dword [edx]
cmp esi, eax
jb 0x439c71
mov esi, eax
test esi, esi
je 0x439d0c
mov ecx, dword [esp]
add ecx, 0x14
mov edi, esi
and edi, 3
je 0x439caf
xor ebp, ebp
movzx eax, word [ecx]
xor edx, edx
test ax, ax
setne dl
lea ecx, [ecx + edx*2]
mov word [ebx], ax
add ebx, 2
inc ebp
cmp edi, ebp
jne 0x439c88
mov edi, esi
sub edi, ebp
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
jmp 0x439cb1
mov edi, esi
cmp esi, 4
jb 0x439d0c
movzx eax, word [ecx]
xor edx, edx
test ax, ax
setne dl
lea esi, [ecx + edx*2]
mov word [ebx], ax
movzx eax, word [ecx + edx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [esi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [esi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea esi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea ecx, [esi + eax*2]
add edi, 0xfffffffc
jne 0x439cb6
mov edx, dword [esp + 0x30]
mov word [ebx], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov edx, dword [esp + 0x34]
test edx, edx
je 0x439d2f
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [edx], eax
test ebp, ebp
je 0x439dbe
test ecx, ecx
je 0x439db5
mov esi, dword [ebp]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
cmp esi, eax
jb 0x439d4a
mov esi, eax
mov eax, dword [esp]
mov edx, dword [eax + 8]
add edx, eax
mov ecx, esi
shr ecx, 2
mov ebx, esi
and ebx, 0xfffffffc
mov edi, dword [esp + 0x38]
add dword [esp + 8], ebx
add ebx, edx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov eax, esi
and eax, 3
mov ecx, eax
shr ecx, 1
mov edx, ebx
mov edi, dword [esp + 8]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edx, dword [esp + 8]
mov ecx, esi
xor ecx, 2
and ecx, eax
je 0x439db5
and esi, 2
movzx eax, byte [ebx + esi]
mov byte [edx + esi], al
cmp ecx, 1
je 0x439db5
movzx eax, byte [ebx + esi + 1]
mov byte [edx + esi + 1], al
cmp ecx, 2
je 0x439db5
movzx eax, byte [ebx + esi + 2]
mov byte [edx + esi + 2], al
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [ebp], eax
mov eax, dword [esp + 4]
push dword [esp]
mov esi, eax
call fcn.00435e20
mov eax, esi
add esp, 4
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret