Function at 0x60b0a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 0x4c]
mov eax, ecx
mov edx, dword [edi + 0x48]
sub eax, edx
sub eax, dword [esp + 0x34]
sub eax, 2
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x60b0d7
and eax, 0xfffffffe
sub ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x1c]
or ebx, 0xffffffff
mov dword [edi + 0x50], edx
cmp eax, ebx
jle 0x60b1d2
mov esi, 0xffffffd8
lea ebp, [ebx - 0x13]
mov dword [esp + 0x34], esi
mov edx, ebx
mov edi, ecx
xor edx, ecx
and edx, 1
sub edi, edx
test ebx, ebx
js 0x60b123
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add edi, 0xfffffffe
mov eax, dword [eax + 0x30]
movsx ecx, word [eax + ebp + 4]
movzx eax, byte [eax + ebp + 1]
add ecx, eax
add ecx, ecx
sub ecx, edx
add edi, ecx
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0x3a]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x40]
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
lea eax, [ecx - 0x3e8]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x25], bl
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x24], dl
test dl, dl
je 0x60b163
cmp edi, ecx
jl 0x60b163
lea eax, [ecx + ecx]
sub eax, edi
jmp 0x60b166
lea eax, [ecx - 1]
mov dword [esi + 0x20], eax
test ebx, ebx
jns 0x60b176
lea eax, [ecx + 2]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
sub eax, 2
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
test ebx, ebx
js 0x60b1b6
mov eax, dword [edi + 0x30]
cmp byte [eax + ebp + 1], 0
ja 0x60b1b6
mov ecx, dword [edi + 0x40]
add ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
add eax, 2
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x14]
add dword [esp + 0x34], 0x28
inc ebx
mov eax, dword [edi + 0x1c]
add ebp, 0x14
mov esi, dword [esp + 0x34]
cmp ebx, eax
jl 0x60b0f4
xor ebp, ebp
xor esi, esi
xor edx, edx
test eax, eax
js 0x60b1f1
mov ecx, dword [edi + 0x48]
mov eax, ecx
xor eax, edx
and eax, 1
sub ecx, eax
mov eax, dword [edi + 0x44]
inc ecx
mov dword [eax + edx*4], ecx
inc edx
cmp edx, dword [edi + 0x1c]
jle 0x60b1d8
mov edx, dword [edi + 0x50]
cmp edx, dword [esp + 0x14]
jg 0x60b52a
mov edi, edi
mov esi, ebp
inc ebp
cmp ebp, dword [esp + 0x20]
jle 0x60b20d
mov dword [esp + 0x20], ebp
mov ecx, dword [edi + 0x40]
mov eax, edx
and eax, 1
lea eax, [eax + eax*4]
shl eax, 3
sub ecx, eax
cmp edx, dword [ecx + 0x18]
jge 0x60b22b
cmp edx, dword [ecx + 0x1c]
jge 0x60b22b
mov ebp, esi
jmp 0x60b239
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x10]
jge 0x60b236
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edx
mov eax, dword [edi + 0x50]
mov ecx, 1
and eax, 1
sub ecx, eax
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
xor ebx, ebx
mov byte [esp + 0x34], 0
mov dword [esp + 0x1c], ebx
test ecx, ecx
js 0x60b470
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
cmp ebx, dword [edi + 0x1c]
jge 0x60b470
mov esi, dword [edi + 0x30]
lea ecx, [ebx*4]
mov ebx, dword [esp + 0x18]
add esi, eax
mov eax, dword [edi + 0x44]
mov edx, dword [ecx + eax]
mov eax, edx
movsx ecx, word [esi + 4]
xor eax, 1
lea ecx, [eax + ecx*2]
mov eax, dword [edi + 0x40]
cmp edx, dword [ebx + eax - 0x18]
mov dword [ebx + eax - 0xc], edx
mov ebx, dword [esp + 0x1c]
jl 0x60b451
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + eax - 0x14]
mov edi, dword [esp + 0x10]
jg 0x60b451
mov dl, byte [esi + 1]
test dl, dl
je 0x60b385
mov eax, dword [edi + 0x40]
mov edi, dword [esp + 0x18]
add edi, eax
movzx eax, dl
sub eax, 1
mov dword [esp + 0x28], eax
mov dword [edi + 0x18], ecx
lea ebx, [ecx + eax*2]
js 0x60b354
mov edx, dword [edi]
mov esi, dword [edi + 4]
lea ecx, [ecx]
mov eax, ebx
cmp eax, edx
jl 0x60b2fa
cmp eax, esi
jle 0x60b335
mov cl, byte [edi + 0x24]
cmp eax, edx
jge 0x60b31b
test cl, cl
je 0x60b30e
lea ecx, [edx + edx]
sub ecx, eax
mov eax, ecx
jmp 0x60b2f2
mov ecx, edx
xor ecx, eax
and ecx, 1
add ecx, edx
mov eax, ecx
jmp 0x60b2f2
test cl, cl
je 0x60b328
lea ecx, [esi + esi]
sub ecx, eax
mov eax, ecx
jmp 0x60b2f2
mov ecx, esi
xor ecx, eax
mov eax, esi
and ecx, 1
sub eax, ecx
jmp 0x60b2f2
cmp eax, dword [edi + 0x10]
jl 0x60b449
cmp eax, dword [edi + 0x14]
jg 0x60b449
sub ebx, 2
sub dword [esp + 0x28], 1
jns 0x60b2f0
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
add ecx, 2
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
cmp eax, edx
jge 0x60b37d
cmp eax, ecx
jge 0x60b37d
cmp dword [edi + 0x14], eax
jl 0x60b37d
cmp eax, dword [edi + 0x20]
jge 0x60b37d
add eax, 2
dec ebp
mov dword [edi + 0x10], eax
cmp eax, edx
jl 0x60b364
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x18]
add ecx, dword [edi + 0x40]
mov edx, dword [eax + ebx*4]
mov eax, dword [ecx - 0x18]
mov dword [ecx - 0xc], edx
cmp edx, eax
jl 0x60b3cc
mov esi, dword [ecx - 0x14]
cmp edx, esi
jg 0x60b3cc
add edx, 2
mov dword [ecx - 0xc], edx
cmp eax, edx
jge 0x60b3cc
mov edi, dword [ecx - 0x10]
cmp eax, edi
jge 0x60b3c8
cmp esi, eax
jl 0x60b3c8
cmp eax, dword [ecx - 8]
jge 0x60b3c8
add eax, 2
dec ebp
mov dword [ecx - 0x18], eax
cmp eax, edx
jl 0x60b3b0
mov edi, dword [esp + 0x10]
mov esi, ebp
inc ebp
cmp ebp, dword [esp + 0x20]
jle 0x60b3d9
mov dword [esp + 0x20], ebp
mov eax, dword [edi + 0x1c]
dec eax
cmp ebx, eax
jne 0x60b3e5
mov ebp, esi
jmp 0x60b415
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x44]
add ecx, dword [edi + 0x40]
mov edx, dword [eax + ebx*4]
cmp edx, dword [ecx + 0x40]
jge 0x60b400
cmp edx, dword [ecx + 0x44]
jge 0x60b400
mov ebp, esi
jmp 0x60b40e
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ecx + 0x38]
jge 0x60b40b
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], edx
lea eax, [ebx + 2]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x44]
lea ecx, [ebx*4]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x34], 1
add dword [ecx + eax], 2
mov eax, dword [edi + 0x44]
cmp dword [ecx + eax], edx
jle 0x60b451
mov ecx, dword [edi + 0x40]
add ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
add eax, 2
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x18], eax
jmp 0x60b451
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc ebx
add dword [esp + 0x18], 0x28
add eax, 0x14
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
cmp ebx, dword [esp + 0x24]
jle 0x60b270
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x44]
lea ebx, [ecx*4]
mov edx, dword [ebx + eax]
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x40]
shl ecx, 3
mov dword [ecx + eax - 0xc], edx
cmp edx, dword [ecx + eax - 0x18]
jl 0x60b4fc
cmp edx, dword [ecx + eax - 0x14]
jg 0x60b4fc
cmp edx, dword [ecx + eax - 0x10]
jge 0x60b4fc
cmp edx, dword [ecx + eax - 8]
jge 0x60b4fc
mov eax, dword [edi + 0x44]
add ecx, dword [edi + 0x40]
mov edx, dword [ebx + eax]
mov dword [ecx - 0xc], edx
mov eax, dword [ecx - 0x18]
cmp edx, eax
jl 0x60b4ec
mov esi, dword [ecx - 0x14]
cmp edx, esi
jg 0x60b4ec
add edx, 2
mov dword [ecx - 0xc], edx
cmp eax, edx
jge 0x60b4ec
mov edi, dword [ecx - 0x10]
lea esp, [esp]
cmp eax, edi
jge 0x60b4e8
cmp esi, eax
jl 0x60b4e8
cmp eax, dword [ecx - 8]
jge 0x60b4e8
add eax, 2
dec ebp
mov dword [ecx - 0x18], eax
cmp eax, edx
jl 0x60b4d0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x24]
add dword [ebx + eax], 2
jmp 0x60b250
cmp byte [esp + 0x34], 0
mov ecx, dword [esp + 0x24]
jne 0x60b250
mov edx, dword [edi + 0x50]
inc edx
mov dword [edi + 0x50], edx
cmp edx, dword [esp + 0x14]
jle 0x60b200
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4