Function at 0x5439eb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jae 0x543a46
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
je 0x543a34
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x33
je 0x543a34
jmp 0x543a38
xor eax, eax
jmp 0x543a3b
xor eax, eax
inc eax
cmp eax, 0
jne 0x543a46
xor eax, eax
jmp 0x543a49
xor eax, eax
inc eax
cmp eax, 0
je 0x543a5e
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.005436aa
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, 2
cmp eax, 0
jle 0x543abd
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jae 0x543a9d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xb
jne 0x543a9d
xor eax, eax
jmp 0x543aa0
xor eax, eax
inc eax
cmp eax, 0
je 0x543ab5
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.005436aa
mov eax, dword [ebp - 0x2c]
sub eax, 1
jg 0x543a70
mov eax, 3
cmp eax, 0
jle 0x543b25
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jae 0x543b1d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xb
je 0x543b06
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
je 0x543b06
xor eax, eax
jmp 0x543b09
xor eax, eax
inc eax
cmp eax, 0
je 0x543b18
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x18], eax
jmp 0x543b1d
jmp 0x543b25
mov eax, dword [ebp - 0x30]
sub eax, 1
jg 0x543ac9
mov eax, 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], eax
jmp 0x543ba8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
jne 0x543b5b
push dword [ebp + 0x18]
call fcn.0044f602
jmp 0x543b5e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x27
jne 0x543b7f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x27
je 0x543b97
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
je 0x543b97
xor eax, eax
jmp 0x543b9a
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x543ba8
jmp 0x543bbd
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jb 0x543b40
mov eax, dword [ebp - 0x24]
cmp eax, 2
jge 0x543bd5
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.005436aa
mov eax, dword [ebp + 0x1c]
mov edx, dword [0x583d28]
cmp eax, edx
sete al
xor ah, ah
cwde
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044ec5c
push eax
push dword [ebp + 8]
call fcn.0053a40e
mov eax, dword [ebp + 0x18]
sub eax, 0x10
leave
ret 0x1c