Function at 0x752e60
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7673db
mov eax, dword fs:[0]
push eax
sub esp, 0x9ec
mov eax, dword [0x78c000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x9f8], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x753080
cmp esi, 6
jb 0x753080
lea eax, [esi - 6]
cmp eax, edx
ja 0x753080
test ebx, ebx
je 0x753080
push 0x9d0
lea eax, [ebp - 0x9e8]
push 0
push eax
call fcn.0075e0d0
add esp, 0xc
lea ecx, [ebp - 0x9e8]
call fcn.007580f0
sub esi, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9e8]
mov eax, dword [esi + ebx]
push eax
mov dword [ebp - 0x9ec], eax
call fcn.007581c0
xor edi, edi
test esi, esi
je 0x752f60
lea esp, [esp]
dec dword [ebp - 0x1c]
jns 0x752f24
lea ecx, [ebp - 0x9e8]
call fcn.00758200
mov edx, eax
jmp 0x752f55
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edx, ecx
shr edx, 0x12
xor edx, ecx
xor byte [ebx + edi], dl
lea eax, [ebx + edi]
inc edi
cmp edi, esi
jb 0x752f10
push esi
mov byte [ebp - 4], 1
call fcn.0076405c
add esp, 4
mov dword [ebp - 0x9f0], eax
test eax, eax
je 0x753080
push dword [ebp - 0x9ec]
lea ecx, [ebp - 0x9e8]
call fcn.007581c0
xor edi, edi
test esi, esi
je 0x752fe9
dec dword [ebp - 0x1c]
jns 0x752fa4
lea ecx, [ebp - 0x9e8]
call fcn.00758200
jmp 0x752fd5
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x9f0]
div esi
mov byte [edi + ecx], dl
inc edi
cmp edi, esi
jb 0x752f92
jmp 0x752fef
mov ecx, dword [ebp - 0x9f0]
lea eax, [esi - 1]
mov dword [ebp - 0x9ec], eax
test eax, eax
js 0x753035
lea edi, [ebx + eax]
mov eax, ecx
sub eax, ebx
mov dword [ebp - 0x9f4], eax
lea esp, [esp]
dec dword [ebp - 0x9ec]
lea edi, [edi - 1]
mov al, byte [eax + edi + 1]
mov dl, byte [edi + 1]
movzx ecx, al
movzx eax, byte [ecx + ebx]
mov byte [edi + 1], al
mov eax, dword [ebp - 0x9f4]
mov byte [ecx + ebx], dl
jns 0x753010
movzx edi, word [esi + ebx - 2]
sub esi, 2
je 0x75306b
xor ecx, ecx
xor edx, edx
test esi, esi
je 0x753066
movzx eax, byte [edx + ebx]
inc edx
xor eax, ecx
shr cx, 8
and eax, 0xff
xor cx, word [eax*2 + 0x789300]
movzx ecx, cx
cmp edx, esi
jb 0x753047
movzx eax, cx
jmp 0x75306d
xor eax, eax
cmp di, ax
je 0x75309e
push dword [ebp - 0x9f0]
call fcn.0076432f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00759f08
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9f8]
cmp eax, ebx
je 0x7530b3
push esi
push ebx
push eax
call fcn.0075e370
add esp, 0xc
push dword [ebp - 0x9f0]
call fcn.0076432f
add esp, 4
mov eax, esi
jmp 0x753082