Function at 0x100ab9c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x1010a058]
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.100acbc0
mov ebx, dword [ebp + 0xc]
mov edx, esi
mov ecx, dword [edi + 0xc]
push ebx
call fcn.10003ba0
mov ecx, dword [edi + 0xc]
push 0x18
push eax
mov dword [ecx + eax*4], ebx
mov ecx, edi
call fcn.100acbe0
xor eax, eax
xor edi, edi
cmp eax, 0x100
jae 0x100ac394
mov byte [ebp + eax - 0x11c], 0
inc eax
cmp eax, 0x100
jb 0x100aba1b
xor eax, eax
cmp eax, 0x10
jae 0x100ac394
mov byte [ebp + eax - 0x1c], 0
inc eax
cmp eax, 0x10
jb 0x100aba36
xor ecx, ecx
test ebx, ebx
je 0x100aba61
nop word [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
mov byte [ebp + eax - 0x11c], 1
cmp ecx, ebx
jb 0x100aba50
xor ecx, ecx
cmp byte [ebp + ecx - 0x11c], 0
je 0x100aba7f
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 0x100aba63
mov ebx, dword [ebp - 0x528]
xor esi, esi
movzx eax, byte [ebp + esi - 0x1c]
mov ecx, ebx
push eax
call fcn.100acbc0
inc esi
cmp esi, 0x10
jb 0x100aba90
xor esi, esi
mov eax, esi
shr eax, 4
cmp byte [ebp + eax - 0x1c], 0
je 0x100abac1
movzx eax, byte [ebp + esi - 0x11c]
mov ecx, ebx
push eax
call fcn.100acbc0
inc esi
cmp esi, 0x100
jb 0x100abaa5
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 0x100abb2d
inc ecx
cmp byte [ebp + ecx - 0x524], bl
jne 0x100abb23
mov dword [ebp - 0x55c], ecx
cmp ecx, 8
jb 0x100abb8f
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 0x100abb40
test ecx, ecx
je 0x100abbb3
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x525]
mov byte [ebp + ecx - 0x524], al
sub ecx, 1
jne 0x100abba0
mov ecx, dword [ebp - 0x55c]
mov bh, bl
mov byte [ebp - 0x524], bh
test ecx, ecx
jne 0x100abbc8
inc edx
jmp 0x100abc1a
test edx, edx
je 0x100abbeb
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 0x100abbd2
mov edi, dword [ebp - 0x540]
add edi, esi
inc esi
cmp ecx, 0xfe
jb 0x100abc0e
mov byte [edi], 0xff
lea eax, [ecx + 2]
mov edi, dword [ebp - 0x540]
mov byte [esi + edi], al
inc esi
jmp 0x100abc13
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 0x100abb10
mov ecx, dword [ebp - 0x540]
test edx, edx
je 0x100abc59
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 0x100abc40
mov edx, dword [ebp - 0x550]
lea eax, [esi + 1]
mov dword [ebp - 0x554], eax
cmp edx, 0x100
jae 0x100abc78
lea eax, [edx - 1]
mov byte [esi + ecx], al
jmp 0x100abc86
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 0x100abca0
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 0x100abd31
mov esi, 0x102
sub esi, eax
cmp esi, 2
jb 0x100abd18
nop
add ecx, dword [ebp + eax*4 - 0x424]
add edx, dword [ebp + eax*4 - 0x420]
add eax, 2
cmp eax, 0x101
jb 0x100abd00
cmp eax, 0x102
jae 0x100abd26
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 0x100abdf1
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 0x100abe2b
mov eax, dword [ebp - 0x54c]
cmp eax, 0xc8
jae 0x100abe05
mov ebx, 2
jmp 0x100abe2b
cmp eax, 0x258
jae 0x100abe13
mov ebx, 3
jmp 0x100abe2b
cmp eax, 0x4b0
jae 0x100abe21
mov ebx, 4
jmp 0x100abe2b
cmp eax, 0x960
sbb ebx, ebx
add ebx, 6
push 3
push ebx
mov ecx, edi
mov dword [ebp - 0x52c], ebx
call fcn.100acbe0
push 0xf
push dword [ebp - 0x570]
mov ecx, edi
call fcn.100acbe0
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 0x100abe9c
nop
add edx, dword [ebp + ecx*4 - 0x424]
inc ecx
cmp edx, eax
jb 0x100abe90
lea eax, [esi + 1]
cmp ecx, eax
jbe 0x100abebc
cmp edi, ebx
je 0x100abebc
cmp edi, 1
je 0x100abebc
mov eax, ebx
sub eax, edi
test al, 1
je 0x100abebc
dec ecx
sub edx, dword [ebp + ecx*4 - 0x424]
mov edi, dword [ebp - 0x534]
xor eax, eax
cmp eax, esi
jb 0x100abed0
cmp eax, ecx
jae 0x100abed0
xor bl, bl
jmp 0x100abed2
mov bl, 1
mov byte [edi + eax], bl
inc eax
cmp eax, dword [ebp - 0x550]
jb 0x100abec4
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 0x100abe80
mov dword [ebp - 0x53c], 4
nop dword [eax]
mov edi, dword [ebp - 0x56c]
xor esi, esi
push 0x408
push 0
push edi
call fcn.100c89b0
inc esi
add esp, 0xc
add edi, 0x408
cmp esi, dword [ebp - 0x52c]
jb 0x100abf28
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 0x100abf8a
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 0x100abf9b
cmp edi, edx
jb 0x100abf70
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 0x100abfc0
mov ecx, dword [ebp - 0x530]
mov eax, dword [ebp - 0x534]
cmp edx, edi
jae 0x100abfea
mov byte [eax], cl
mov edi, edx
mov al, cl
jmp 0x100abfec
mov al, byte [eax]
inc ecx
add ebx, 0x102
mov dword [ebp - 0x530], ecx
cmp ecx, dword [ebp - 0x52c]
jb 0x100abfb4
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 0x100ac020
cmp edi, dword [ebp - 0x554]
jb 0x100abf60
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 0x100ac065
mov dword [esi + eax*4], 1
inc eax
cmp eax, ecx
jb 0x100ac058
push 0x10
push 0x102
push ebx
lea edx, [esi + 0x1830]
mov ecx, esi
call fcn.100045e0
mov ecx, dword [ebp - 0x52c]
inc edi
add esi, 0x408
add ebx, 0x102
cmp edi, ecx
jb 0x100ac050
sub dword [ebp - 0x53c], 1
jne 0x100abf20
xor eax, eax
mov byte [ebp + eax - 0xc], al
inc eax
cmp eax, ecx
jb 0x100ac0a5
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 0x100ac0eb
mov edi, dword [ebp - 0x528]
push 1
mov ecx, edi
call fcn.100acbc0
inc esi
cmp byte [ebp + esi - 0xc], bl
jne 0x100ac0d5
mov edi, dword [ebp - 0x53c]
mov ecx, dword [ebp - 0x528]
push 0
call fcn.100acbc0
test esi, esi
je 0x100ac10d
nop dword [eax]
mov al, byte [ebp + esi - 0xd]
mov byte [ebp + esi - 0xc], al
sub esi, 1
jne 0x100ac100
inc edi
mov al, bl
mov byte [ebp - 0xc], al
mov dword [ebp - 0x53c], edi
cmp edi, dword [ebp - 0x570]
jb 0x100ac0c0
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.100acbe0
xor eax, eax
mov dword [ebp - 0x53c], eax
nop dword [eax]
movzx ebx, byte [edi + eax]
cmp esi, ebx
je 0x100ac1a6
nop dword [eax + eax]
mov ecx, dword [ebp - 0x528]
push 1
call fcn.100acbc0
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.100acbc0
mov esi, edi
cmp edi, ebx
jne 0x100ac170
mov edi, dword [ebp - 0x530]
mov ecx, dword [ebp - 0x528]
push 0
call fcn.100acbc0
mov eax, dword [ebp - 0x53c]
inc eax
mov dword [ebp - 0x53c], eax
cmp eax, dword [ebp - 0x550]
jb 0x100ac160
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 0x100ac140
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 0x100ac242
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 0x100ac286
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 0x100ac307
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 0x100ac2f1
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 0x100ac2a7
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 0x100ac210
mov edi, dword [ebp - 0x528]
mov bl, byte [edi + 0x8cdc]
test bl, bl
je 0x100ac381
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 0x100ac36b
cmp edx, 6
je 0x100ac381
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 0x100abdc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c70b8
mov esp, ebp
pop ebp
ret 8
call fcn.100c7210
int3