Function at 0x100b6910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x1014e058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x560], esi
push 0
mov dword [ebp - 0x528], edi
call fcn.100b7b10
mov ebx, dword [ebp + 0xc]
mov edx, esi
mov ecx, dword [edi + 0xc]
push ebx
call fcn.10003cc0
mov ecx, dword [edi + 0xc]
push 0x18
push eax
mov dword [ecx + eax*4], ebx
mov ecx, edi
call fcn.100b7b30
xor eax, eax
xor edi, edi
cmp eax, 0x100
jae 0x100b72e4
mov byte [ebp + eax - 0x11c], 0
inc eax
cmp eax, 0x100
jb 0x100b696b
xor eax, eax
cmp eax, 0x10
jae 0x100b72e4
mov byte [ebp + eax - 0x1c], 0
inc eax
cmp eax, 0x10
jb 0x100b6986
xor ecx, ecx
test ebx, ebx
je 0x100b69b1
nop word [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
mov byte [ebp + eax - 0x11c], 1
cmp ecx, ebx
jb 0x100b69a0
xor ecx, ecx
cmp byte [ebp + ecx - 0x11c], 0
je 0x100b69cf
mov eax, ecx
mov byte [ebp + edi - 0x524], cl
shr eax, 4
inc edi
mov byte [ebp + eax - 0x1c], 1
inc ecx
cmp ecx, 0x100
jb 0x100b69b3
mov ebx, dword [ebp - 0x528]
xor esi, esi
movzx eax, byte [ebp + esi - 0x1c]
mov ecx, ebx
push eax
call fcn.100b7b10
inc esi
cmp esi, 0x10
jb 0x100b69e0
xor esi, esi
mov eax, esi
shr eax, 4
cmp byte [ebp + eax - 0x1c], 0
je 0x100b6a11
movzx eax, byte [ebp + esi - 0x11c]
mov ecx, ebx
push eax
call fcn.100b7b10
inc esi
cmp esi, 0x100
jb 0x100b69f5
lea eax, [edi + 2]
mov ecx, 0x102
mov dword [ebp - 0x550], eax
lea edi, [ebp - 0x424]
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x540], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov bh, byte [ebp - 0x524]
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x558], ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x560]
mov bl, byte [eax + ecx - 1]
xor ecx, ecx
cmp bh, bl
je 0x100b6a7d
inc ecx
cmp byte [ebp + ecx - 0x524], bl
jne 0x100b6a73
mov dword [ebp - 0x55c], ecx
cmp ecx, 8
jb 0x100b6adf
lea edi, [ebp - 0x524]
nop
movzx eax, byte [edi + ecx - 1]
mov byte [edi + ecx], al
movzx eax, byte [edi + ecx - 2]
mov byte [edi + ecx - 1], al
movzx eax, byte [edi + ecx - 3]
mov byte [edi + ecx - 2], al
movzx eax, byte [edi + ecx - 4]
mov byte [edi + ecx - 3], al
movzx eax, byte [edi + ecx - 5]
mov byte [edi + ecx - 4], al
movzx eax, byte [edi + ecx - 6]
mov byte [edi + ecx - 5], al
movzx eax, byte [edi + ecx - 7]
mov byte [edi + ecx - 6], al
movzx eax, byte [edi + ecx - 8]
mov byte [edi + ecx - 7], al
sub ecx, 8
cmp ecx, 8
jae 0x100b6a90
test ecx, ecx
je 0x100b6b03
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x525]
mov byte [ebp + ecx - 0x524], al
sub ecx, 1
jne 0x100b6af0
mov ecx, dword [ebp - 0x55c]
mov bh, bl
mov byte [ebp - 0x524], bh
test ecx, ecx
jne 0x100b6b18
inc edx
jmp 0x100b6b6a
test edx, edx
je 0x100b6b3b
mov edi, dword [ebp - 0x540]
dec edx
mov al, dl
and al, 1
mov byte [esi + edi], al
mov eax, edx
and eax, 1
inc esi
inc dword [ebp + eax*4 - 0x424]
shr edx, 1
jne 0x100b6b22
mov edi, dword [ebp - 0x540]
add edi, esi
inc esi
cmp ecx, 0xfe
jb 0x100b6b5e
mov byte [edi], 0xff
lea eax, [ecx + 2]
mov edi, dword [ebp - 0x540]
mov byte [esi + edi], al
inc esi
jmp 0x100b6b63
lea eax, [ecx + 1]
mov byte [edi], al
inc dword [ebp + ecx*4 - 0x420]
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 0x558]
inc eax
mov dword [ebp - 0x548], eax
cmp eax, dword [ebp + 0xc]
jb 0x100b6a60
mov ecx, dword [ebp - 0x540]
test edx, edx
je 0x100b6ba9
dec edx
mov al, dl
and al, 1
mov byte [esi + ecx], al
mov eax, edx
and eax, 1
inc esi
inc dword [ebp + eax*4 - 0x424]
shr edx, 1
jne 0x100b6b90
mov edx, dword [ebp - 0x550]
lea eax, [esi + 1]
mov dword [ebp - 0x554], eax
cmp edx, 0x100
jae 0x100b6bc8
lea eax, [edx - 1]
mov byte [esi + ecx], al
jmp 0x100b6bd6
mov byte [esi + ecx], 0xff
mov byte [eax + ecx], dl
inc eax
mov dword [ebp - 0x554], eax
inc dword [ebp + edx*4 - 0x428]
xorps xmm1, xmm1
xor eax, eax
xorps xmm2, xmm2
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax*4 - 0x424]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp + eax*4 - 0x414]
add eax, 8
paddd xmm2, xmm0
cmp eax, 0x100
jb 0x100b6bf0
paddd xmm1, xmm2
xor ecx, ecx
movaps xmm0, xmm1
xor edx, edx
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ebx, xmm1
mov dword [ebp - 0x54c], ebx
cmp eax, 0x102
jae 0x100b6c81
mov esi, 0x102
sub esi, eax
cmp esi, 2
jb 0x100b6c68
nop
add ecx, dword [ebp + eax*4 - 0x424]
add edx, dword [ebp + eax*4 - 0x420]
add eax, 2
cmp eax, 0x101
jb 0x100b6c50
cmp eax, 0x102
jae 0x100b6c76
add ebx, dword [ebp + eax*4 - 0x424]
lea eax, [edx + ecx]
add ebx, eax
mov dword [ebp - 0x54c], ebx
mov edi, dword [ebp - 0x528]
mov ecx, dword [ebp - 0x54c]
add ecx, 0x31
mov dword [ebp - 0x560], 2
mov dword [ebp - 0x55c], 0xffffffff
mov esi, dword [edi + 0x10]
mov bl, byte [edi + 0x8cdc]
mov dword [ebp - 0x548], 2
mov eax, dword [esi]
mov bh, byte [esi + 8]
mov byte [ebp - 0x542], bh
lea eax, [eax*8 + 8]
sub eax, dword [esi + 4]
mov dword [ebp - 0x558], eax
mov eax, 0x51eb851f
mul ecx
mov ecx, dword [ebp - 0x558]
mov eax, edx
mov edx, 2
shr eax, 4
mov dword [ebp - 0x570], eax
lea eax, [edi + 0x620]
mov dword [ebp - 0x56c], eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x564], eax
lea eax, [edi + 0x3680]
mov dword [ebp - 0x568], eax
test bl, bl
je 0x100b6d41
mov eax, ecx
shr eax, 3
mov dword [esi], eax
mov eax, ecx
and eax, 7
mov ecx, 8
sub ecx, eax
cmp edx, 6
mov dword [esi + 4], ecx
mov eax, dword [edi + 0x10]
mov byte [eax + 8], bh
mov ebx, edx
cmova ebx, dword [ebp - 0x560]
mov dword [eax + 4], ecx
jmp 0x100b6d7b
mov eax, dword [ebp - 0x54c]
cmp eax, 0xc8
jae 0x100b6d55
mov ebx, 2
jmp 0x100b6d7b
cmp eax, 0x258
jae 0x100b6d63
mov ebx, 3
jmp 0x100b6d7b
cmp eax, 0x4b0
jae 0x100b6d71
mov ebx, 4
jmp 0x100b6d7b
cmp eax, 0x960
sbb ebx, ebx
add ebx, 6
push 3
push ebx
mov ecx, edi
mov dword [ebp - 0x52c], ebx
call fcn.100b7b30
push 0xf
push dword [ebp - 0x570]
mov ecx, edi
call fcn.100b7b30
mov edx, dword [ebp - 0x528]
xor esi, esi
mov ecx, dword [ebp - 0x54c]
add edx, 0xffffff12
imul eax, ebx, 0x102
mov edi, ebx
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x538], edi
add eax, edx
mov dword [ebp - 0x534], eax
nop word [eax + eax]
xor edx, edx
mov eax, ecx
div edi
xor edx, edx
mov ecx, esi
test eax, eax
je 0x100b6dec
nop
add edx, dword [ebp + ecx*4 - 0x424]
inc ecx
cmp edx, eax
jb 0x100b6de0
lea eax, [esi + 1]
cmp ecx, eax
jbe 0x100b6e0c
cmp edi, ebx
je 0x100b6e0c
cmp edi, 1
je 0x100b6e0c
mov eax, ebx
sub eax, edi
test al, 1
je 0x100b6e0c
dec ecx
sub edx, dword [ebp + ecx*4 - 0x424]
mov edi, dword [ebp - 0x534]
xor eax, eax
cmp eax, esi
jb 0x100b6e20
cmp eax, ecx
jae 0x100b6e20
xor bl, bl
jmp 0x100b6e22
mov bl, 1
mov byte [edi + eax], bl
inc eax
cmp eax, dword [ebp - 0x550]
jb 0x100b6e14
mov edi, dword [ebp - 0x538]
mov esi, ecx
mov ecx, dword [ebp - 0x530]
dec edi
sub dword [ebp - 0x534], 0x102
sub ecx, edx
mov ebx, dword [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x538], edi
test edi, edi
jne 0x100b6dd0
mov dword [ebp - 0x53c], 4
nop dword [eax]
mov edi, dword [ebp - 0x56c]
xor esi, esi
push 0x408
push 0
push edi
call fcn.100d4ba0
inc esi
add esp, 0xc
add edi, 0x408
cmp esi, dword [ebp - 0x52c]
jb 0x100b6e78
mov eax, dword [ebp - 0x568]
xor edi, edi
mov dword [ebp - 0x534], eax
nop word [eax + eax]
mov eax, dword [ebp - 0x540]
xor esi, esi
mov edx, dword [ebp - 0x554]
nop
movzx ecx, byte [edi + eax]
inc edi
cmp ecx, 0xff
jb 0x100b6eda
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [ebp - 0x540]
inc edi
mov dword [ebp + esi*4 - 0x4ec], ecx
inc esi
cmp esi, 0x32
jae 0x100b6eeb
cmp edi, edx
jb 0x100b6ec0
mov ebx, dword [ebp - 0x564]
mov dword [ebp - 0x538], edi
or edi, 0xffffffff
mov dword [ebp - 0x530], 0
xor edx, edx
xor eax, eax
nop dword [eax + eax]
mov ecx, dword [ebp + eax*4 - 0x4ec]
inc eax
movzx ecx, byte [ecx + ebx]
add edx, ecx
cmp eax, esi
jb 0x100b6f10
mov ecx, dword [ebp - 0x530]
mov eax, dword [ebp - 0x534]
cmp edx, edi
jae 0x100b6f3a
mov byte [eax], cl
mov edi, edx
mov al, cl
jmp 0x100b6f3c
mov al, byte [eax]
inc ecx
add ebx, 0x102
mov dword [ebp - 0x530], ecx
cmp ecx, dword [ebp - 0x52c]
jb 0x100b6f04
inc dword [ebp - 0x534]
mov edi, dword [ebp - 0x538]
movzx eax, al
imul edx, eax, 0x408
add edx, dword [ebp - 0x528]
xor ecx, ecx
nop
mov eax, dword [ebp + ecx*4 - 0x4ec]
inc ecx
inc dword [edx + eax*4 + 0x620]
cmp ecx, esi
jb 0x100b6f70
cmp edi, dword [ebp - 0x554]
jb 0x100b6eb0
mov ebx, dword [ebp - 0x564]
xor edi, edi
mov esi, dword [ebp - 0x56c]
nop dword [eax]
mov ecx, dword [ebp - 0x550]
xor eax, eax
cmp dword [esi + eax*4], 0
jne 0x100b6fb5
mov dword [esi + eax*4], 1
inc eax
cmp eax, ecx
jb 0x100b6fa8
push 0x10
push 0x102
push ebx
lea edx, [esi + 0x1830]
mov ecx, esi
call fcn.10004700
mov ecx, dword [ebp - 0x52c]
inc edi
add esi, 0x408
add ebx, 0x102
cmp edi, ecx
jb 0x100b6fa0
sub dword [ebp - 0x53c], 1
jne 0x100b6e70
xor eax, eax
mov byte [ebp + eax - 0xc], al
inc eax
cmp eax, ecx
jb 0x100b6ff5
mov al, byte [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x53c], edi
nop dword [eax]
mov ecx, dword [ebp - 0x568]
xor esi, esi
mov bl, byte [ecx + edi]
cmp al, bl
je 0x100b703b
mov edi, dword [ebp - 0x528]
push 1
mov ecx, edi
call fcn.100b7b10
inc esi
cmp byte [ebp + esi - 0xc], bl
jne 0x100b7025
mov edi, dword [ebp - 0x53c]
mov ecx, dword [ebp - 0x528]
push 0
call fcn.100b7b10
test esi, esi
je 0x100b705d
nop dword [eax]
mov al, byte [ebp + esi - 0xd]
mov byte [ebp + esi - 0xc], al
sub esi, 1
jne 0x100b7050
inc edi
mov al, bl
mov byte [ebp - 0xc], al
mov dword [ebp - 0x53c], edi
cmp edi, dword [ebp - 0x570]
jb 0x100b7010
mov edi, dword [ebp - 0x564]
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x530], edi
nop word [eax + eax]
movzx esi, byte [edi]
mov ecx, dword [ebp - 0x528]
push 5
push esi
call fcn.100b7b30
xor eax, eax
mov dword [ebp - 0x53c], eax
nop dword [eax]
movzx ebx, byte [edi + eax]
cmp esi, ebx
je 0x100b70f6
nop dword [eax + eax]
mov ecx, dword [ebp - 0x528]
push 1
call fcn.100b7b10
mov ecx, dword [ebp - 0x528]
lea eax, [esi - 1]
cmp esi, ebx
lea edi, [esi + 1]
cmovae edi, eax
setae al
movzx eax, al
push eax
call fcn.100b7b10
mov esi, edi
cmp edi, ebx
jne 0x100b70c0
mov edi, dword [ebp - 0x530]
mov ecx, dword [ebp - 0x528]
push 0
call fcn.100b7b10
mov eax, dword [ebp - 0x53c]
inc eax
mov dword [ebp - 0x53c], eax
cmp eax, dword [ebp - 0x550]
jb 0x100b70b0
mov ebx, dword [ebp - 0x538]
add edi, 0x102
inc ebx
mov dword [ebp - 0x530], edi
mov dword [ebp - 0x538], ebx
cmp ebx, dword [ebp - 0x52c]
jb 0x100b7090
mov eax, dword [ebp - 0x568]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x53c], esi
xor ebx, ebx
mov dword [ebp - 0x538], edi
xor ecx, ecx
mov dword [ebp - 0x52c], eax
nop dword [eax]
mov edx, dword [ebp - 0x540]
movzx edx, byte [ecx + edx]
inc ecx
mov dword [ebp - 0x534], ecx
cmp edx, 0xff
jb 0x100b7192
mov eax, dword [ebp - 0x540]
movzx eax, byte [ecx + eax]
add edx, eax
mov eax, dword [ebp - 0x52c]
inc ecx
mov dword [ebp - 0x534], ecx
test ebx, ebx
jne 0x100b71d6
movzx ecx, byte [eax]
mov ebx, 0x32
mov edi, dword [ebp - 0x528]
inc eax
mov dword [ebp - 0x52c], eax
imul eax, ecx, 0x102
lea esi, [edi + 0x14]
add edi, 0x1e50
add esi, eax
imul eax, ecx, 0x408
mov ecx, dword [ebp - 0x534]
mov dword [ebp - 0x53c], esi
add edi, eax
mov dword [ebp - 0x538], edi
mov eax, dword [edi + edx*4]
dec ebx
mov dword [ebp - 0x574], ebx
movzx ebx, byte [edx + esi]
mov edx, dword [ebp - 0x528]
mov dword [ebp - 0x530], eax
mov edi, dword [edx + 0x10]
test ebx, ebx
je 0x100b7257
mov esi, dword [edi + 4]
cmp ebx, esi
mov edx, esi
cmovb edx, ebx
sub ebx, edx
mov ecx, ebx
mov ch, byte [edi + 8]
shr eax, cl
mov cl, dl
shl ch, cl
or ch, al
mov byte [ebp - 0x541], ch
mov byte [edi + 8], ch
mov ecx, ebx
shl eax, cl
sub dword [ebp - 0x530], eax
sub esi, edx
mov dword [edi + 4], esi
jne 0x100b7241
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dl, byte [ebp - 0x541]
mov byte [ecx + eax], dl
inc dword [edi]
mov dword [edi + 4], 8
mov eax, dword [ebp - 0x530]
test ebx, ebx
jne 0x100b71f7
mov ecx, dword [ebp - 0x534]
mov esi, dword [ebp - 0x53c]
mov ebx, dword [ebp - 0x574]
mov eax, dword [ebp - 0x52c]
mov edi, dword [ebp - 0x538]
cmp ecx, dword [ebp - 0x554]
jb 0x100b7160
mov edi, dword [ebp - 0x528]
mov bl, byte [edi + 0x8cdc]
test bl, bl
je 0x100b72d1
mov esi, dword [edi + 0x10]
mov ecx, dword [ebp - 0x558]
mov edx, dword [ebp - 0x548]
mov eax, dword [esi]
lea eax, [eax*8 + 8]
sub eax, dword [esi + 4]
sub eax, ecx
cmp eax, dword [ebp - 0x55c]
ja 0x100b72bb
cmp edx, 6
je 0x100b72d1
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x560], edx
mov bh, byte [ebp - 0x542]
inc edx
mov dword [ebp - 0x548], edx
cmp edx, 7
jbe 0x100b6d10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d2f1c
mov esp, ebp
pop ebp
ret 8
call fcn.100d3070
int3