Function at 0x100b2320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x11c
mov eax, dword [0x1043db14]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
mov eax, edx
shr eax, 3
and eax, 0x1f
mov dword [ebp - 0xdc], eax
movzx esi, word [ecx + 2]
mov eax, esi
shr eax, 3
and eax, 0x1f
mov dword [ebp - 0xe8], eax
cmp byte [ecx + 0x24], 0
lea ebx, [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x108], eax
lea edi, [ebp + 0x10]
lea eax, [ebp + 8]
movzx edx, dx
je 0x100b261d
cmp edx, 0x220
jne 0x100b26ac
cmp esi, 0x220
jne 0x100b28c1
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0xd4], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebx]
mov ecx, dword [edi]
mov edi, dword [eax]
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [ebp - 0xd4]
and eax, 0xfffffffc
mov dword [ebp - 0xf8], eax
lea eax, [edi + 2]
mov dword [ebp - 0xfc], eax
xor ebx, ebx
mov dword [ebp - 0x100], edx
movzx eax, byte [edi + 3]
test eax, eax
je 0x100b25b6
mov dword [ebp - 0xf4], eax
mov esi, ecx
movzx eax, byte [ecx + 3]
movzx ecx, ax
test edx, edx
je 0x100b2403
movzx eax, byte [edx + ebx]
imul eax, ecx
imul ecx, eax, 0x8081
shr ecx, 0x17
test ecx, ecx
mov eax, dword [ebp - 0xf4]
je 0x100b25e7
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0xec], esi
lea ebx, [ecx + eax]
mov esi, eax
mov eax, ecx
imul eax, esi
movzx eax, ax
imul eax, eax, 0x8081
shr eax, 0x17
sub ebx, eax
mov eax, ecx
shl eax, 8
sub eax, ecx
movzx ecx, bl
xor edx, edx
div cx
mov byte [edi + 3], bl
cmp dword [ebp - 0xf8], 0xc
jne 0x100b2483
mov ebx, eax
mov al, byte [edi]
mov byte [ebp - 0x1d], al
mov al, byte [edi + 1]
mov byte [ebp - 0x1e], al
mov al, byte [edi + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xec]
call fcn.100b6dfd
mov eax, ebx
mov dword [ebp - 0xd8], edi
movzx ecx, ax
mov eax, 0xff
xor esi, eax
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xf0], ecx
sub eax, ecx
mov dword [ebp - 0xe8], eax
xor edi, edi
xor ebx, ebx
mov ecx, dword [ebp - 0xec]
cmp dword [ebp - 0xd4], 0
je 0x100b24ed
mov eax, 2
sub eax, ebx
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xf8], 0xc
jne 0x100b2507
mov eax, ecx
mov esi, dword [ebp + ebx*4 - 0x1c]
movzx ecx, byte [ecx + ebx]
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + edi + 2]
mov dword [ebp - 0xe0], eax
jmp 0x100b252e
mov eax, dword [ebp - 0xfc]
lea esi, [eax + edi]
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + edi + 2]
movzx ecx, byte [ecx + ebx]
jmp 0x100b2567
movzx esi, byte [ecx + ebx]
mov eax, dword [ebp - 0xd8]
movzx edx, byte [eax + edi + 2]
mov dword [esp], esi
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], edx
call fcn.100b70b9
mov ecx, esi
mov esi, eax
imul ecx, dword [ebp - 0xdc]
imul esi, dword [ebp - 0xf4]
add esi, ecx
mov eax, esi
mov ecx, 0x80808081
imul ecx
mov ecx, edx
add ecx, esi
mov eax, ecx
shr eax, 0x1f
sar ecx, 7
add ecx, eax
mov esi, dword [ebp - 0xe4]
add esi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe0]
imul eax, dword [ebp - 0xe8]
imul ecx, dword [ebp - 0xf0]
add ecx, eax
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov byte [esi], dl
inc ebx
dec edi
cmp edi, 0xfffffffd
mov ecx, dword [ebp - 0xec]
jne 0x100b24b1
sub ecx, edi
inc ecx
mov edx, dword [ebp - 0x100]
mov edi, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0x104]
jmp 0x100b2604
test edx, edx
je 0x100b25eb
movzx eax, byte [edx + ebx]
mov esi, ecx
movzx ecx, byte [ecx + 3]
imul ecx, eax
mov al, byte [esi]
mov byte [edi + 2], al
mov al, byte [esi + 1]
mov byte [edi + 1], al
mov al, byte [esi + 2]
mov byte [edi], al
imul eax, ecx, 0x8081
mov ecx, esi
shr eax, 0x17
mov byte [edi + 3], al
jmp 0x100b2601
mov ecx, esi
jmp 0x100b2601
mov al, byte [ecx + 3]
mov byte [edi + 3], al
mov al, byte [ecx + 2]
mov byte [edi], al
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx]
mov byte [edi + 2], al
add ecx, 4
add edi, 4
inc ebx
add dword [ebp - 0xfc], 4
cmp ebx, dword [ebp + 0x18]
jne 0x100b23d4
jmp 0x100b385d
cmp esi, 8
je 0x100b2b85
cmp esi, 0x108
jne 0x100b2c3a
mov ecx, dword [ebx]
cmp edx, 0x220
jne 0x100b2e5e
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov edx, dword [edi]
xor esi, esi
mov dword [ebp - 0xd8], eax
movzx edi, byte [edx + esi*4 + 3]
movzx ebx, di
test ecx, ecx
je 0x100b2672
movzx edi, byte [ecx + esi]
imul edi, ebx
imul ebx, edi, 0x8081
shr ebx, 0x17
movzx edi, byte [eax + esi]
test edi, edi
je 0x100b269e
test ebx, ebx
je 0x100b26a1
mov eax, edx
lea edx, [ebx + edi]
imul ebx, edi
movzx edi, bx
imul edi, edi, 0x8081
shr edi, 0x17
sub edx, edi
mov ebx, edx
mov edx, eax
mov eax, dword [ebp - 0xd8]
mov byte [eax + esi], bl
inc esi
cmp dword [ebp + 0x18], esi
jne 0x100b2656
jmp 0x100b385d
mov edx, dword [ecx + 0x20]
mov cl, byte [ecx + 0x25]
cmp esi, 0x220
mov dword [ebp - 0xd4], edx
jne 0x100b2a29
test edx, edx
je 0x100b2f9d
test cl, cl
je 0x100b3226
mov esi, dword [ebx]
mov ebx, dword [edi]
mov edx, dword [eax]
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0xdc]
jle 0x100b385d
mov eax, dword [ebp - 0xd4]
and eax, 0xfffffffc
mov dword [ebp - 0xec], eax
xor edi, edi
movzx eax, byte [edx + 3]
test eax, eax
je 0x100b288c
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xe0], edx
movzx edx, byte [esi]
test edx, edx
je 0x100b28a0
mov dword [ebp - 0x104], esi
lea ecx, [eax + edx]
mov edi, eax
imul eax, edx
imul eax, eax, 0x8081
shr eax, 0x17
sub ecx, eax
mov eax, edx
shl eax, 8
sub eax, edx
movzx esi, cl
xor edx, edx
div si
mov esi, eax
mov edx, dword [ebp - 0xe0]
mov byte [edx + 3], cl
cmp dword [ebp - 0xec], 0xc
jne 0x100b2797
mov al, byte [edx]
mov byte [ebp - 0x1d], al
mov al, byte [edx + 1]
mov byte [ebp - 0x1e], al
mov al, byte [edx + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edx, ebx
call fcn.100b6dfd
mov edx, dword [ebp - 0xe0]
movzx ecx, si
mov dword [ebp - 0xf0], edi
mov eax, 0xff
xor edi, eax
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xe8], ecx
sub eax, ecx
mov dword [ebp - 0xf8], eax
mov esi, 3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xd8], ebx
movzx ebx, byte [ebx]
cmp dword [ebp - 0xec], 0xc
mov dword [ebp - 0xe4], eax
jne 0x100b27ea
mov ecx, dword [eax]
movzx edi, byte [edx + esi - 1]
jmp 0x100b2801
movzx edi, byte [edx + esi - 1]
mov dword [esp], ebx
mov ecx, dword [ebp - 0xd4]
mov edx, edi
call fcn.100b70b9
mov ecx, eax
mov eax, dword [ebp - 0xf0]
imul edi, dword [ebp - 0xf8]
imul ebx, dword [ebp - 0xf4]
imul ecx, eax
add ecx, ebx
mov eax, ecx
mov edx, 0x80808081
imul edx
mov ebx, edx
add ebx, ecx
mov eax, ebx
shr eax, 0x1f
sar ebx, 7
add ebx, eax
imul ebx, dword [ebp - 0xe8]
add ebx, edi
mov eax, ebx
mov ecx, 0x80808081
imul ecx
add edx, ebx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov eax, dword [ebp - 0xe0]
mov byte [eax + esi - 1], dl
mov ebx, dword [ebp - 0xd8]
inc ebx
mov ecx, dword [ebp - 0xe4]
add ecx, 4
dec esi
mov edx, eax
mov eax, ecx
jne 0x100b27c9
mov ecx, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0x100]
add ebx, ecx
sub ebx, esi
mov esi, dword [ebp - 0x104]
jmp 0x100b28a8
mov al, byte [ebx]
mov byte [edx + 2], al
mov al, byte [ebx + 1]
mov byte [edx + 1], al
mov al, byte [ebx + 2]
mov byte [edx], al
add ebx, ecx
jmp 0x100b28ae
add ebx, ecx
mov edx, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xfc]
inc esi
add edx, 4
inc edi
cmp edi, dword [ebp + 0x18]
jne 0x100b2707
jmp 0x100b385d
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x100b30a1
mov esi, dword [ebx]
mov edx, dword [edi]
mov ecx, dword [eax]
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [ebp - 0xf0]
and eax, 0xfffffffc
mov dword [ebp - 0xe4], eax
xor eax, eax
mov bl, byte [edx + 3]
test esi, esi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xf8], eax
je 0x100b2930
movzx eax, bl
movzx ecx, byte [esi]
inc esi
movzx eax, ax
imul eax, ecx
mov ecx, dword [ebp - 0xd4]
imul ebx, eax, 0x8081
shr ebx, 0x17
jmp 0x100b2932
xor esi, esi
test bl, bl
mov dword [ebp - 0xf4], esi
je 0x100b2a05
cmp dword [ebp - 0xe4], 0xc
jne 0x100b297c
mov al, byte [ecx]
mov byte [ebp - 0x1d], al
mov al, byte [ecx + 1]
mov byte [ebp - 0x1e], al
mov al, byte [ecx + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xf0]
mov esi, edx
call fcn.100b6dfd
mov ecx, dword [ebp - 0xd4]
mov edx, esi
movzx eax, bl
mov dword [ebp - 0xe0], eax
xor eax, 0xff
mov dword [ebp - 0xec], eax
inc edx
mov esi, 3
lea edi, [ebp - 0x1c]
movzx ebx, byte [ecx + esi - 1]
cmp dword [ebp - 0xe4], 0xc
mov dword [ebp - 0xd8], edx
jne 0x100b29b1
mov ecx, dword [edi]
jmp 0x100b29c7
movzx eax, byte [edx - 1]
mov dword [esp], eax
mov ecx, dword [ebp - 0xf0]
mov edx, ebx
call fcn.100b70b9
mov ecx, eax
imul ebx, dword [ebp - 0xec]
imul ecx, dword [ebp - 0xe0]
add ecx, ebx
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov ecx, dword [ebp - 0xd4]
mov byte [ecx + esi - 1], dl
add edi, 4
mov edx, dword [ebp - 0xd8]
inc edx
dec esi
jne 0x100b2999
jmp 0x100b2a08
add edx, 4
add ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xf8]
inc eax
cmp eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0xf4]
jne 0x100b28ff
jmp 0x100b385d
test edx, edx
je 0x100b3160
test cl, cl
je 0x100b3385
mov edx, dword [ebx]
mov edi, dword [edi]
mov ebx, dword [eax]
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0xe8]
jle 0x100b385d
mov esi, dword [ebp - 0xd4]
and esi, 0xfffffffc
mov dword [ebp - 0xe0], esi
xor esi, esi
movzx eax, byte [edx]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x100b2b6d
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xe0], 0xc
jne 0x100b2abd
mov al, byte [ebx]
mov byte [ebp - 0x1d], al
mov al, byte [ebx + 1]
mov byte [ebp - 0x1e], al
mov al, byte [ebx + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edx, edi
call fcn.100b6dfd
mov eax, dword [ebp - 0xe4]
xor eax, 0xff
mov dword [ebp - 0xf0], eax
mov esi, 3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xec], ebx
movzx ebx, byte [ebx + esi - 1]
cmp dword [ebp - 0xe0], 0xc
mov dword [ebp - 0xd8], eax
jne 0x100b2afa
mov ecx, dword [eax]
jmp 0x100b2b0f
movzx eax, byte [edi]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edx, ebx
call fcn.100b70b9
mov ecx, eax
imul ebx, dword [ebp - 0xf0]
imul ecx, dword [ebp - 0xe4]
add ecx, ebx
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov ebx, dword [ebp - 0xec]
mov byte [ebx + esi - 1], dl
inc edi
mov eax, dword [ebp - 0xd8]
add eax, 4
dec esi
jne 0x100b2ae2
mov edi, dword [ebp - 0xf8]
add edi, dword [ebp - 0xdc]
sub edi, esi
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xfc]
jmp 0x100b2b73
add edi, dword [ebp - 0xdc]
inc edx
add ebx, ecx
inc esi
cmp esi, dword [ebp + 0x18]
jne 0x100b2a6c
jmp 0x100b385d
mov esi, dword [ebx]
mov dword [ebp - 0xd4], esi
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0xe4], ecx
cmp edx, 0x220
jne 0x100b2ea0
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov esi, dword [edi]
xor ebx, ebx
movzx eax, byte [esi + 3]
movzx edi, ax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x100b2bd9
movzx eax, byte [eax + ebx]
imul eax, edi
imul edi, eax, 0x8081
shr edi, 0x17
test edi, edi
je 0x100b2c2c
mov eax, dword [ebp - 0xe0]
add eax, ebx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
mov ecx, esi
mov edx, dword [ebp - 0xd8]
call fcn.100b739f
mov ecx, dword [ebp - 0xd8]
movzx ecx, byte [ecx]
mov edx, edi
xor edx, 0xff
imul edx, ecx
movzx eax, al
imul eax, edi
add eax, edx
mov ecx, 0x1010102
mul ecx
mov eax, dword [ebp - 0xd8]
mov byte [eax], dl
add esi, 4
inc ebx
cmp dword [ebp + 0x18], ebx
jne 0x100b2bb8
jmp 0x100b385d
cmp edx, 0x220
jne 0x100b2f23
cmp esi, 0x220
jne 0x100b3467
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0xd8], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx]
mov dword [ebp - 0xfc], ecx
mov esi, dword [edi]
mov ebx, dword [eax]
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [ebp - 0xd8]
and eax, 0xfffffffc
mov dword [ebp - 0xf4], eax
xor edx, edx
movzx edi, byte [ebx + 3]
movzx ecx, byte [esi + 3]
mov eax, dword [ebp - 0xfc]
test eax, eax
mov dword [ebp - 0xdc], edx
je 0x100b2cd2
movzx eax, byte [eax + edx]
imul eax, ecx
imul ecx, eax, 0x8081
shr ecx, 0x17
test edi, edi
jne 0x100b2cda
mov al, byte [esi]
mov byte [ebx], al
mov al, byte [esi + 1]
mov byte [ebx + 1], al
mov al, byte [esi + 2]
mov byte [ebx + 2], al
mov byte [ebx + 3], cl
jmp 0x100b2e43
test edi, edi
je 0x100b2e3f
test ecx, ecx
je 0x100b2e43
mov dword [ebp - 0xd4], esi
mov edx, edi
mov edi, ebx
lea ebx, [ecx + edx]
mov eax, ecx
mov dword [ebp - 0xe8], edx
imul eax, edx
movzx eax, ax
imul eax, eax, 0x8081
shr eax, 0x17
sub ebx, eax
mov eax, ecx
shl eax, 8
sub eax, ecx
movzx ecx, bl
xor edx, edx
div cx
mov esi, eax
mov byte [edi + 3], bl
mov ebx, edi
cmp dword [ebp - 0xf4], 0xc
jne 0x100b2d42
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
call fcn.100b6dfd
movzx ecx, si
mov edx, dword [ebp - 0xe8]
mov eax, 0xff
xor edx, eax
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xec], ecx
sub eax, ecx
mov dword [ebp - 0xf0], eax
inc ebx
mov esi, dword [ebp - 0xd4]
inc esi
xor edi, edi
cmp dword [ebp - 0xd8], 0
je 0x100b2da4
cmp dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xe4], ebx
jne 0x100b2dae
mov eax, esi
mov esi, dword [ebp + edi - 0x1c]
movzx edx, byte [eax - 1]
movzx eax, byte [ebx - 1]
mov dword [ebp - 0xe0], eax
jmp 0x100b2dce
movzx eax, byte [ebx - 1]
movzx ecx, byte [esi - 1]
jmp 0x100b2e07
movzx esi, byte [esi - 1]
movzx edx, byte [ebx - 1]
mov dword [esp], esi
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], edx
call fcn.100b70b9
mov edx, esi
mov esi, eax
mov ecx, 0x80808081
imul edx, dword [ebp - 0xf8]
imul esi, dword [ebp - 0xe8]
add esi, edx
mov eax, esi
imul ecx
mov ecx, edx
add ecx, esi
mov eax, ecx
shr eax, 0x1f
sar ecx, 7
add ecx, eax
mov esi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
imul eax, dword [ebp - 0xf0]
imul ecx, dword [ebp - 0xec]
add ecx, eax
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov byte [ebx - 1], dl
add edi, 4
inc ebx
inc esi
cmp edi, 0xc
jne 0x100b2d70
jmp 0x100b2e49
mov eax, dword [esi]
mov dword [ebx], eax
add ebx, 4
add esi, 4
mov edx, dword [ebp - 0xdc]
inc edx
cmp edx, dword [ebp + 0x18]
jne 0x100b2c8e
jmp 0x100b385d
mov esi, dword [eax]
test ecx, ecx
je 0x100b3557
cmp dword [ebp + 0x18], 0
jle 0x100b385d
xor edx, edx
movzx ebx, byte [esi + edx]
mov edi, ecx
movzx ecx, byte [ecx + edx]
mov eax, ecx
add al, bl
imul ecx, ebx
imul ecx, ecx, 0x8081
shr ecx, 0x17
sub al, cl
mov ecx, edi
mov byte [esi + edx], al
inc edx
cmp dword [ebp + 0x18], edx
jne 0x100b2e74
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov esi, dword [edi]
xor ebx, ebx
mov eax, dword [ebp - 0xd8]
lea edi, [eax + ebx]
mov eax, dword [ebp - 0xe4]
mov dword [esp], eax
mov ecx, esi
mov edx, edi
call fcn.100b739f
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x100b2f10
movzx edx, byte [ecx + ebx]
cmp edx, 0xff
je 0x100b2f10
movzx ecx, byte [edi]
mov dword [ebp - 0xe0], ecx
mov ecx, edx
xor ecx, 0xff
imul ecx, dword [ebp - 0xe0]
movzx eax, al
imul eax, edx
add eax, ecx
mov ecx, 0x1010102
mul ecx
mov eax, edx
mov byte [edi], al
add esi, dword [ebp - 0xdc]
inc ebx
cmp dword [ebp + 0x18], ebx
jne 0x100b2eb6
jmp 0x100b385d
mov edx, dword [ecx + 0x20]
mov cl, byte [ecx + 0x25]
cmp esi, 0x220
jne 0x100b34ca
test edx, edx
je 0x100b35f8
test cl, cl
je 0x100b3727
mov ecx, dword [ebx]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x78], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
movsd xmm0, qword [ebp - 0x70]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebp - 0x78]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x80]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
call fcn.100b3b86
jmp 0x100b385d
test cl, cl
je 0x100b3573
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov edx, dword [ebx]
mov ebx, dword [eax]
mov edi, dword [edi]
xor esi, esi
mov dword [ebp - 0xec], edx
movzx ecx, byte [edx + esi]
test ecx, ecx
je 0x100b2fe1
cmp ecx, 0xff
jne 0x100b2fec
mov al, byte [edi]
mov byte [ebx + 2], al
mov al, byte [edi + 1]
mov byte [ebx + 1], al
mov al, byte [edi + 2]
mov byte [ebx], al
mov byte [ebx + 3], 0xff
add edi, dword [ebp - 0xdc]
jmp 0x100b308f
mov dword [ebp - 0xe0], esi
movzx eax, byte [ebx + 3]
lea edx, [eax + ecx]
imul eax, ecx
imul eax, eax, 0x8081
shr eax, 0x17
sub edx, eax
mov byte [ebx + 3], dl
mov eax, ecx
shl eax, 8
sub eax, ecx
mov ecx, 0xff
and edx, ecx
mov ecx, edx
xor edx, edx
div cx
movzx eax, ax
mov ecx, 0xff
mov dword [ebp - 0xd8], eax
sub ecx, eax
mov dword [ebp - 0xd4], ecx
mov esi, 3
mov dword [ebp - 0xe4], edi
movzx eax, byte [ebx + esi - 1]
imul eax, dword [ebp - 0xd4]
movzx ecx, byte [edi]
imul ecx, dword [ebp - 0xd8]
add ecx, eax
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov byte [ebx + esi - 1], dl
inc edi
dec esi
jne 0x100b3040
mov edi, dword [ebp - 0xe4]
add edi, dword [ebp - 0xdc]
sub edi, esi
mov edx, dword [ebp - 0xec]
mov esi, dword [ebp - 0xe0]
add ebx, 4
inc esi
cmp esi, dword [ebp + 0x18]
jne 0x100b2fbd
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov ecx, dword [eax]
mov esi, dword [edi]
mov edi, dword [ebx]
xor eax, eax
mov dword [ebp - 0xd4], eax
mov al, byte [esi + 3]
test edi, edi
je 0x100b30d8
movzx eax, al
movzx edx, byte [edi]
inc edi
movzx eax, ax
imul eax, edx
imul eax, eax, 0x8081
shr eax, 0x17
jmp 0x100b30da
xor edi, edi
test al, al
mov dword [ebp - 0xe4], edi
je 0x100b3104
movzx eax, al
mov dword [ebp - 0xd8], eax
cmp eax, 0xff
jne 0x100b3109
mov al, byte [esi]
mov byte [ecx + 2], al
mov al, byte [esi + 1]
mov byte [ecx + 1], al
mov al, byte [esi + 2]
mov byte [ecx], al
add esi, 4
jmp 0x100b313f
mov ebx, dword [ebp - 0xd8]
xor ebx, 0xff
inc esi
mov edi, 3
movzx edx, byte [ecx + edi - 1]
imul edx, ebx
movzx eax, byte [esi - 1]
imul eax, dword [ebp - 0xd8]
add eax, edx
mov edx, 0x1010102
mul edx
mov byte [ecx + edi - 1], dl
inc esi
dec edi
jne 0x100b311b
add ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xd4]
inc eax
cmp eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0xe4]
jne 0x100b30b3
jmp 0x100b385d
test cl, cl
je 0x100b35bb
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov ecx, dword [ebx]
mov dword [ebp - 0xd8], ecx
mov esi, dword [eax]
mov edi, dword [edi]
add edi, 2
add esi, 2
xor ebx, ebx
mov eax, dword [ebp - 0xd8]
movzx ecx, byte [eax + ebx]
test ecx, ecx
je 0x100b320b
cmp ecx, 0xff
jne 0x100b31ab
mov al, byte [edi - 2]
mov byte [esi], al
mov al, byte [edi - 1]
mov byte [esi - 1], al
mov dl, byte [edi]
jmp 0x100b3208
movzx edx, byte [esi]
mov eax, ecx
xor eax, 0xff
mov dword [ebp - 0xd4], eax
imul edx, eax
movzx eax, byte [edi - 2]
imul eax, ecx
add eax, edx
mov edx, 0x1010102
mul edx
mov byte [esi], dl
movzx edx, byte [esi - 1]
imul edx, dword [ebp - 0xd4]
movzx eax, byte [edi - 1]
imul eax, ecx
add eax, edx
mov edx, 0x1010102
mul edx
mov byte [esi - 1], dl
movzx edx, byte [esi - 2]
imul edx, dword [ebp - 0xd4]
movzx eax, byte [edi]
imul eax, ecx
add eax, edx
mov ecx, 0x1010102
mul ecx
mov byte [esi - 2], dl
inc ebx
add edi, dword [ebp - 0xdc]
add esi, dword [ebp - 0xe8]
cmp dword [ebp + 0x18], ebx
jne 0x100b3186
jmp 0x100b385d
mov ebx, dword [edi]
mov edx, dword [eax]
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0xdc]
jle 0x100b385d
mov eax, dword [ebp - 0xd4]
and eax, 0xfffffffc
mov dword [ebp - 0xe0], eax
xor edi, edi
movzx eax, byte [edx + 3]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x100b3353
mov dword [ebp - 0xf4], edi
mov byte [edx + 3], 0xff
cmp dword [ebp - 0xe0], 0xc
jne 0x100b32ab
mov al, byte [edx]
mov byte [ebp - 0x1d], al
mov al, byte [edx + 1]
mov byte [ebp - 0x1e], al
mov al, byte [edx + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edi, edx
mov edx, ebx
call fcn.100b6dfd
mov edx, edi
mov eax, dword [ebp - 0xe4]
xor eax, 0xff
mov dword [ebp - 0xec], eax
mov edi, 3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf0], edx
movzx esi, byte [ebx]
cmp dword [ebp - 0xe0], 0xc
mov dword [ebp - 0xd8], eax
jne 0x100b32e6
mov ecx, dword [eax]
jmp 0x100b32fb
movzx edx, byte [edx + edi - 1]
mov dword [esp], esi
mov ecx, dword [ebp - 0xd4]
call fcn.100b70b9
mov ecx, eax
imul esi, dword [ebp - 0xec]
imul ecx, dword [ebp - 0xe4]
add ecx, esi
mov eax, ecx
mov edx, 0x80808081
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
shr edx, 7
add edx, eax
mov eax, dword [ebp - 0xf0]
mov byte [eax + edi - 1], dl
inc ebx
mov ecx, dword [ebp - 0xd8]
add ecx, 4
dec edi
mov edx, eax
mov eax, ecx
jne 0x100b32d0
mov ecx, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xe8]
add ebx, ecx
sub ebx, edi
mov edi, dword [ebp - 0xf4]
jmp 0x100b3373
mov al, 0xff
cmp cx, 4
jne 0x100b335e
mov al, byte [ebx + 3]
mov byte [edx + 3], al
mov al, byte [ebx + 2]
mov byte [edx], al
mov al, byte [ebx + 1]
mov byte [edx + 1], al
mov al, byte [ebx]
mov byte [edx + 2], al
add ebx, ecx
add edx, 4
inc edi
cmp edi, dword [ebp + 0x18]
jne 0x100b3257
jmp 0x100b385d
mov esi, dword [edi]
mov ecx, dword [eax]
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0xd4]
jle 0x100b385d
mov edx, eax
and edx, 0xfffffffc
xor eax, eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xec], eax
cmp edx, 0xc
mov dword [ebp - 0xd8], ecx
jne 0x100b33fa
mov al, byte [ecx]
mov byte [ebp - 0x1d], al
mov al, byte [ecx + 1]
mov byte [ebp - 0x1e], al
mov al, byte [ecx + 2]
mov byte [ebp - 0x1f], al
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
mov edx, esi
call fcn.100b6dfd
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd8]
mov edi, 3
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0xe0], esi
cmp edx, 0xc
jne 0x100b3411
mov eax, dword [ebx]
jmp 0x100b3433
movzx eax, byte [esi]
movzx edx, byte [ecx + edi - 1]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd4]
call fcn.100b70b9
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd8]
mov byte [ecx + edi - 1], al
inc esi
add ebx, 4
dec edi
jne 0x100b3408
mov esi, dword [ebp - 0xe0]
add esi, dword [ebp - 0xdc]
sub esi, edi
add ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
inc eax
cmp eax, dword [ebp + 0x18]
jne 0x100b33b2
jmp 0x100b385d
mov edx, dword [ecx + 0x20]
mov ecx, dword [ebx]
test edx, edx
je 0x100b3654
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
movsd xmm0, qword [ebp - 0x40]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x50]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
call fcn.100b3951
jmp 0x100b385d
test edx, edx
je 0x100b36a6
test cl, cl
je 0x100b377b
mov ecx, dword [ebx]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xac], ecx
mov ecx, dword [edi]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xbc], eax
movsd xmm0, qword [ebp - 0xb0]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [ebp - 0xb8]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0xc0]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
call fcn.100b3efa
jmp 0x100b385d
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0xff
call fcn.1023abb0
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov ecx, dword [edi]
add ecx, 3
xor edx, edx
mov esi, dword [ebp - 0xdc]
mov bl, 0xff
cmp si, 4
jne 0x100b3596
mov bl, byte [ecx]
mov byte [eax + edx*4 + 3], bl
mov bl, byte [ecx - 1]
mov byte [eax + edx*4], bl
mov bl, byte [ecx - 2]
mov byte [eax + edx*4 + 1], bl
mov bl, byte [ecx - 3]
mov byte [eax + edx*4 + 2], bl
inc edx
add ecx, esi
cmp dword [ebp + 0x18], edx
jne 0x100b358c
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov ecx, dword [edi]
add ecx, 2
add eax, 2
mov dl, byte [ecx - 2]
mov byte [eax], dl
mov dl, byte [ecx - 1]
mov byte [eax - 1], dl
mov dl, byte [ecx]
mov byte [eax - 2], dl
add ecx, dword [ebp - 0xdc]
add eax, dword [ebp - 0xe8]
dec dword [ebp - 0x108]
jne 0x100b35cf
jmp 0x100b385d
test cl, cl
je 0x100b37d9
mov ecx, dword [ebx]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
movsd xmm0, qword [ebp - 0x58]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x60]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x68]
movsd qword [esp], xmm0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xdc]
call fcn.100b3a80
jmp 0x100b385d
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
movsd xmm0, qword [ebp - 0x28]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x30]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x38]
movsd qword [esp], xmm0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xe8]
call fcn.100b3874
jmp 0x100b385d
test cl, cl
je 0x100b380e
mov ecx, dword [ebx]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x94], ecx
mov ecx, dword [edi]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
movsd xmm0, qword [ebp - 0x98]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebp - 0xa0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0xa8]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xe8]
call fcn.100b3e39
jmp 0x100b385d
mov ecx, dword [edi]
mov dword [ebp - 0x88], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], eax
movsd xmm0, qword [ebp - 0x88]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x90]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
call fcn.100b3d25
jmp 0x100b385d
mov ecx, dword [edi]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xcc], eax
movsd xmm0, qword [ebp - 0xc8]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0xd0]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x18]
call fcn.100b4016
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov eax, dword [eax]
mov ecx, dword [edi]
add ecx, 2
xor edx, edx
mov bl, byte [ecx - 2]
mov byte [eax + edx*4], bl
mov bl, byte [ecx - 1]
mov byte [eax + edx*4 + 1], bl
mov bl, byte [ecx]
mov byte [eax + edx*4 + 2], bl
mov byte [eax + edx*4 + 3], 0xff
inc edx
add ecx, dword [ebp - 0xdc]
cmp dword [ebp + 0x18], edx
jne 0x100b37e8
jmp 0x100b385d
mov ecx, dword [edi]
mov eax, dword [eax]
mov edx, dword [ebp - 0xe8]
cmp dx, word [ebp - 0xdc]
jne 0x100b3837
imul edx, dword [ebp + 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.1023a630
jmp 0x100b385d
cmp dword [ebp + 0x18], 0
jle 0x100b385d
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
movzx edx, word [ecx]
mov word [eax], dx
add eax, dword [ebp - 0xe8]
add ecx, dword [ebp - 0xdc]
dec dword [ebp - 0x108]
jne 0x100b383d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102377e8
add esp, 0x11c
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c