Function at 0x75e113
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
push esi
and al, 2
push edi
mov edi, ecx
cmp al, 2
push 0x4b0
mov dword [ebp - 4], edi
mov dword [edi], ebx
sete byte [ebp + 0x1f]
call fcn.0053b55c
pop ecx
cmp eax, ebx
je 0x75e161
lea ecx, [eax + 0x414]
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
lea ecx, [eax + 0x41c]
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov esi, eax
jmp 0x75e163
xor esi, esi
cmp esi, ebx
jne 0x75e172
mov dword [edi], 1
jmp 0x75e461
push 0x400
lea eax, [esi + 4]
push ebx
push eax
call fcn.00644f40
lea edi, [esi + 0x430]
push edi
push dword [ebp + 8]
call fcn.007736d7
add esp, 0x14
test eax, eax
je 0x75e44a
push edi
call fcn.007738bf
movzx eax, ax
push edi
mov dword [esi + 0x424], eax
call fcn.007738d6
movsx edx, byte [esi + 0x433]
pop ecx
pop ecx
movzx ecx, ax
movsx eax, byte [esi + 0x471]
imul eax, edx
mov dword [esi + 0x428], ecx
mov dword [esi + 0x404], eax
cmp eax, ebx
je 0x75e44a
cmp eax, 0x20
jg 0x75e44a
cmp dword [esi + 0x424], ebx
je 0x75e44a
cmp ecx, ebx
je 0x75e44a
mov edx, dword [ebp + 0x18]
cmp byte [ebp + 0x1f], bl
jne 0x75e229
mov eax, dword [edx]
dec eax
je 0x75e236
sub eax, 7
je 0x75e236
sub eax, 0x10
je 0x75e236
mov ecx, esi
call fcn.0075e0ce
push esi
call fcn.0053b58b
mov eax, dword [ebp - 4]
mov dword [eax], 5
jmp 0x75e460
mov dword [edx], eax
cmp eax, 4
jne 0x75e236
mov dword [edx], 8
mov eax, dword [edx]
mov ecx, dword [esi + 0x404]
mov dword [esi], eax
cmp ecx, dword [edx]
jbe 0x75e25f
mov ecx, esi
call fcn.0075e0ce
push esi
call fcn.0053b58b
mov eax, dword [ebp - 4]
mov dword [eax], 0x1c
jmp 0x75e460
cmp ecx, 0x18
jl 0x75e269
mov dword [ebp + 0x18], ebx
jmp 0x75e271
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x424]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 0x428]
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ecx], eax
call fcn.007738ed
pop ecx
test eax, eax
je 0x75e2a6
lea eax, [esi + 4]
push eax
push edi
push dword [ebp + 8]
call fcn.00773b2d
add esp, 0xc
cmp eax, ebx
jne 0x75e2bf
xor ecx, ecx
lea eax, [esi + 5]
mov byte [eax + 1], cl
mov byte [eax], cl
mov byte [eax - 1], cl
inc ecx
add eax, 4
cmp ecx, 0x100
jl 0x75e2ab
cmp dword [esi + 0x404], 8
jge 0x75e35a
cmp byte [esi + 0x471], 1
jne 0x75e2f8
cmp byte [esi + 0x433], 1
jne 0x75e2f8
push 2
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov byte [esi + 6], bl
mov byte [esi + 8], 0xff
mov byte [esi + 9], 0xff
mov byte [esi + 0xa], 0xff
pop edx
jmp 0x75e334
mov edi, dword [ebp + 0x18]
xor edx, edx
cmp edi, ebx
jle 0x75e334
lea ecx, [esi + 5]
lea eax, [esi + 0x441]
mov dword [ebp + 0x18], edi
mov edx, edi
mov bl, byte [eax + 1]
mov byte [ecx + 1], bl
mov bl, byte [eax]
mov byte [ecx], bl
mov bl, byte [eax - 1]
mov byte [ecx - 1], bl
add eax, 3
add ecx, 4
dec dword [ebp + 0x18]
jne 0x75e30f
xor ebx, ebx
cmp edi, 0x100
jge 0x75e35a
lea eax, [esi + edx*4 + 4]
mov edi, 0x100
mov dword [ebp + 0x18], eax
sub edi, edx
push 4
lea eax, [esi + 4]
push eax
push dword [ebp + 0x18]
call fcn.00645120
add dword [ebp + 0x18], 4
add esp, 0xc
dec edi
jne 0x75e342
cmp dword [esi], 8
ja 0x75e373
push 0x400
lea eax, [esi + 4]
push eax
push dword [ebp + 0x14]
call fcn.00645120
add esp, 0xc
mov eax, dword [esi + 0x424]
imul eax, eax, 3
push eax
lea ecx, [esi + 0x41c]
call fcn.0076fb4b
cmp dword [esi + 0x420], ebx
jne 0x75e3ab
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], 1
call fcn.0075e0ce
push esi
call fcn.0053b58b
jmp 0x75e460
lea eax, [esi + 0x430]
push eax
call fcn.00773b1d
pop ecx
push eax
lea ecx, [esi + 0x414]
call fcn.0076fb4b
cmp dword [esi + 0x418], ebx
je 0x75e390
push dword [ebp + 8]
call fcn.00773919
pop ecx
test eax, eax
je 0x75e390
mov ecx, dword [esi + 0x404]
push 8
pop eax
cdq
idiv ecx
mov dword [esi + 0x42c], ebx
mov dword [esi + 0x40c], eax
xor eax, eax
inc eax
mov dword [esi + 0x408], eax
cmp ecx, 0x18
je 0x75e424
lea edi, [ecx - 1]
xor edx, edx
test edi, edi
jle 0x75e424
mov edi, dword [esi + 0x408]
lea edi, [edi + edi + 1]
mov dword [esi + 0x408], edi
mov edi, dword [esi + 0x404]
inc edx
dec edi
cmp edx, edi
jl 0x75e408
cmp ecx, eax
jne 0x75e43d
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov byte [esi + 6], bl
mov byte [esi + 8], 0xff
mov byte [esi + 9], 0xff
mov byte [esi + 0xa], 0xff
mov eax, dword [ebp + 8]
mov dword [esi + 0x410], eax
mov eax, esi
jmp 0x75e463
mov ecx, esi
call fcn.0075e0ce
push esi
call fcn.0053b58b
mov eax, dword [ebp - 4]
mov dword [eax], 0x16
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18