Function at 0x10044bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
imul ecx, dword [ebp + 0x18], 3
mov edx, 0x200010
shl edx, cl
mov eax, dword [ebp + 0xc]
and edx, dword [eax]
imul ecx, dword [ebp + 0x18], 3
mov eax, 0x10
shl eax, cl
cmp edx, eax
jne 0x10044fc3
imul ecx, dword [ebp + 0x18], 3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shr eax, cl
push eax
call fcn.10041290
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4 + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
shr eax, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov ecx, dword [edx]
cmp eax, dword [ecx]
jae 0x10044dd0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
cmp eax, dword [ecx]
jae 0x10044c99
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [eax + 8]
mov dword [edx], eax
jmp 0x10044ce0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
cmp dword [edx + 4], 0
jne 0x10044cc0
mov dword [ebp - 0x14], 1
jmp 0x10044cc7
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [eax + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x10044d92
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x10044d69
cmp dword [ebp - 0xc], 0x8f
jbe 0x10044d3e
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, 0xff00
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
jmp 0x10044d67
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0xc]
shl eax, 9
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 7
jmp 0x10044d92
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp - 4]
add ecx, dword [edx]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0x8000
jb 0x10044ce0
jmp 0x10044f62
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx]
shl eax, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
and edx, 0x8000
jne 0x10044f54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp ecx, dword [edx]
jae 0x10044e46
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
jne 0x10044e24
mov dword [ebp - 0x18], 1
jmp 0x10044e2b
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
jmp 0x10044e67
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
mov eax, dword [eax + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x10044f19
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x10044ef0
cmp dword [ebp - 0x10], 0x8f
jbe 0x10044ec5
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, 0xff00
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
jmp 0x10044eee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x10]
shl eax, 9
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 7
jmp 0x10044f19
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x10]
shl ecx, 8
mov edx, dword [ebp - 4]
add ecx, dword [edx]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0x8000
jb 0x10044e67
jmp 0x10044f62
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
imul ecx, dword [ebp + 0x18], 0
mov edx, dword [ebp + 0x10]
cmp dword [edx + ecx*4], 0
jge 0x10044f78
mov dword [ebp - 0x1c], 1
jmp 0x10044f7f
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
je 0x10044f8f
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
jmp 0x10044f97
mov edx, dword [ebp + 0x14]
neg edx
mov dword [ebp - 0x20], edx
imul eax, dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x20]
imul eax, dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + eax*4], edx
imul ecx, dword [ebp + 0x18], 3
mov edx, 0x100000
shl edx, cl
mov eax, dword [ebp + 0xc]
or edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret