Function at 0x10068580
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
push edi
xor edi, edi
mov dword [esp + 0xc], edi
movups xmmword [esp + 0x20], xmm0
test eax, eax
jne 0x100685ab
push dword [esp + 0x34]
call fcn.1006b620
add esp, 4
pop edi
add esp, 0x2c
ret
mov dl, byte [eax]
mov byte [esp + 7], dl
push ebp
lea ebp, [esp + 0x40]
test dl, dl
je 0x1006873e
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov ecx, dword [ebx + 0x1b30]
inc eax
mov dword [esp + 0x28], eax
add ecx, 0x10
mov dword [esp + 0x44], eax
mov esi, ebp
mov eax, dword [ebx + 0x1b34]
adc eax, 0
cmp eax, dword [ebx + 0x1b44]
jl 0x1006860f
jg 0x100685f3
cmp ecx, dword [ebx + 0x1b40]
jb 0x1006860f
push 0
push 0x10
push ebx
call fcn.100698e0
add esp, 0xc
test eax, eax
jne 0x1006873c
mov dl, byte [esp + 0x13]
xorps xmm0, xmm0
movsx ecx, dl
lea eax, [ecx - 0x21]
cmp eax, 0x59
ja case.0x10068625.34
movzx eax, byte [eax + 0x10068d18]
jmp dword [eax*4 + 0x10068ccc]
mov dword [ebx + 0x1b48], 0x10000000
jmp 0x10068727
mov dword [ebx + 0x1b48], 0x20000000
jmp 0x10068727
mov esi, dword [esi]
add ebp, 4
push 4
push esi
push ebx
mov dword [esi], 0
call fcn.100680d0
movzx ecx, byte [esi + 3]
add edi, eax
movzx eax, byte [esi + 2]
add esp, 0xc
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], edi
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
jmp 0x10068727
mov eax, dword [esi]
add ebp, 4
mov dword [esp + 0x20], eax
push 0x10
mov dword [esp + 0x18], ebp
mov dword [eax], 0
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.100680d0
add edi, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x18], edi
xor edi, edi
mov esi, 3
lea ebp, [edi + 1]
lea ebx, [edi + 2]
nop word [eax + eax]
movzx edx, byte [esp + esi + 0x2c]
mov ecx, esi
movzx eax, byte [esp + ebx + 0x2c]
add esi, 4
shl edx, cl
mov ecx, ebx
shl eax, cl
add ebx, 4
xor edx, eax
mov ecx, ebp
movzx eax, byte [esp + ebp + 0x2c]
add ebp, 4
shl eax, cl
mov ecx, edi
xor edx, eax
movzx eax, byte [esp + edi + 0x2c]
shl eax, cl
add edi, 4
xor edx, eax
mov eax, dword [esp + 0x1c]
xor eax, edx
mov dword [esp + 0x1c], eax
cmp esi, 0x13
jl 0x100686d0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x14]
mov dword [ecx], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
mov dl, byte [eax]
mov byte [esp + 0x13], dl
test dl, dl
jne 0x100685c4
pop esi
pop ebx
pop ebp
mov eax, edi
pop edi
add esp, 0x2c
ret
mov eax, dword [esi]
add ebp, 4
push 1
push eax
push ebx
mov byte [eax], 0
call fcn.100680d0
add esp, 0xc
add edi, eax
mov dword [esp + 0x18], edi
jmp 0x10068727
mov esi, dword [esi]
xor eax, eax
push 2
push esi
push ebx
add ebp, 4
mov word [esi], ax
call fcn.100680d0
add edi, eax
add esp, 0xc
cmp dword [ebx + 0x1b48], 0x20000000
mov dword [esp + 0x18], edi
jne 0x100687a0
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl cx, 8
or cx, ax
movzx eax, cx
mov word [esi], ax
jmp 0x10068727
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
shl cx, 8
or cx, ax
movzx eax, cx
mov word [esi], ax
jmp 0x10068727
mov esi, dword [esi]
lea eax, [esp + 0x2c]
push 3
push eax
push ebx
add ebp, 4
mov dword [esi], 0
call fcn.100680d0
add edi, eax
add esp, 0xc
cmp dword [ebx + 0x1b48], 0x20000000
movzx eax, byte [esp + 0x2d]
mov dword [esp + 0x18], edi
jne 0x10068806
movzx ecx, byte [esp + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2e]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
jmp 0x10068727
movzx ecx, byte [esp + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esi], ecx
jmp 0x10068727
mov esi, dword [esi]
add ebp, 4
push 4
push esi
push ebx
mov dword [esi], 0
call fcn.100680d0
add edi, eax
add esp, 0xc
cmp dword [ebx + 0x1b48], 0x20000000
mov dword [esp + 0x18], edi
jne 0x1006886f
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
add ecx, eax
mov dword [esi], ecx
jmp 0x10068727
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi]
shl ecx, 8
add ecx, eax
mov dword [esi], ecx
jmp 0x10068727
mov esi, dword [esi]
lea eax, [esp + 0x2c]
push 8
push eax
push ebx
add ebp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100680d0
add edi, eax
mov dword [esp + 0x20], 0
add esp, 0xc
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x1b48], 0x20000000
jne 0x10068943
movzx eax, byte [esp + 0x2e]
cdq
mov ecx, eax
movzx eax, byte [esp + 0x2d]
shld edx, ecx, 8
cdq
shld edx, eax, 0x10
shl ecx, 8
shl eax, 0x10
add ecx, eax
movzx eax, byte [esp + 0x2c]
cdq
shld edx, eax, 0x18
shl eax, 0x18
add ecx, eax
movzx eax, byte [esp + 0x2f]
cdq
add ecx, eax
movzx eax, byte [esp + 0x32]
cdq
shld edx, eax, 8
shl eax, 8
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x31]
adc ecx, edx
cdq
shld edx, eax, 0x10
shl eax, 0x10
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x30]
adc ecx, edx
cdq
shld edx, eax, 0x18
shl eax, 0x18
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x33]
jmp 0x100689b4
movzx eax, byte [esp + 0x33]
cdq
mov ecx, eax
movzx eax, byte [esp + 0x32]
shld edx, ecx, 0x18
cdq
shld edx, eax, 0x10
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [esp + 0x31]
cdq
shld edx, eax, 8
shl eax, 8
add ecx, eax
movzx eax, byte [esp + 0x30]
cdq
add ecx, eax
movzx eax, byte [esp + 0x2f]
cdq
shld edx, eax, 0x18
shl eax, 0x18
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x2e]
adc ecx, edx
cdq
shld edx, eax, 0x10
shl eax, 0x10
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x2d]
adc ecx, edx
cdq
shld edx, eax, 8
shl eax, 8
add dword [esp + 0x14], eax
movzx eax, byte [esp + 0x2c]
adc ecx, edx
cdq
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
adc ecx, edx
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x10068727
mov esi, dword [esi]
add ebp, 4
push 4
push esi
push ebx
mov dword [esi], 0
call fcn.100680d0
add esp, 0xc
add edi, eax
cmp dword [ebx + 0x1b48], 0x20000000
mov dword [esp + 0x18], edi
push esi
jne 0x10068a10
call fcn.10087860
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 4
movss dword [esi], xmm0
jmp 0x10068727
call fcn.10087e00
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 4
movss dword [esi], xmm0
jmp 0x10068727
mov esi, dword [esi]
add ebp, 4
push 8
push esi
push ebx
movsd qword [esi], xmm0
call fcn.100680d0
add esp, 0xc
add edi, eax
cmp dword [ebx + 0x1b48], 0x20000000
mov dword [esp + 0x18], edi
push esi
jne 0x10068a6e
call fcn.1008ac60
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
add esp, 4
movsd qword [esi], xmm0
jmp 0x10068727
call fcn.1008b280
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
add esp, 4
movsd qword [esi], xmm0
jmp 0x10068727
push str.Format_conversion_s_not_implemented_yet._n
push ebx
call fcn.10069fd0
add esp, 8
jmp 0x10068727
mov edi, dword [ebp]
add ebp, 8
mov esi, dword [ebp - 4]
push esi
push 0
push edi
call fcn.1010f560
push esi
push edi
push ebx
call fcn.100680d0
mov edi, dword [esp + 0x30]
add esp, 0x18
add edi, eax
mov dword [esp + 0x18], edi
jmp 0x10068727
mov edi, dword [ebp]
add ebp, 8
mov dword [esp + 0x14], ebp
mov esi, dword [ebp - 4]
push esi
push 0
push edi
mov dword [esp + 0x2c], esi
call fcn.1010f560
mov eax, esi
add esp, 0xc
cdq
mov esi, edx
mov dword [esp + 0x1c], eax
mov edx, eax
mov ecx, esi
add edx, dword [ebx + 0x1b30]
adc ecx, dword [ebx + 0x1b34]
cmp ecx, dword [ebx + 0x1b44]
jl 0x10068b27
jg 0x10068b10
cmp edx, dword [ebx + 0x1b40]
jb 0x10068b27
push esi
push eax
push ebx
call fcn.100698e0
add esp, 0xc
test eax, eax
jne 0x10068723
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov eax, esi
add ecx, dword [ebx + 0x1b30]
adc eax, dword [ebx + 0x1b34]
cmp eax, dword [ebx + 0x1b44]
jl 0x10068b6c
jg 0x10068b49
cmp ecx, dword [ebx + 0x1b40]
jb 0x10068b6c
push esi
push dword [esp + 0x20]
push ebx
call fcn.100698e0
add esp, 0xc
test eax, eax
je 0x10068b6c
mov edi, dword [esp + 0x18]
xor esi, esi
add edi, esi
mov dword [esp + 0x18], edi
jmp 0x10068727
mov eax, dword [esp + 0x20]
xor esi, esi
dec eax
test eax, eax
jle 0x10068c1f
nop dword [eax + eax]
mov eax, dword [ebx + 0x1b3c]
mov edx, dword [ebx + 0x1b38]
mov ecx, dword [ebx + 0x1b30]
mov ebp, dword [ebx + 0x1b28]
cmp dword [ebx + 0x1b34], eax
jg 0x10068bbc
jl 0x10068ba6
cmp ecx, edx
jae 0x10068bbc
mov al, byte [ecx + ebp]
mov byte [edi + esi], al
add dword [ebx + 0x1b30], 1
adc dword [ebx + 0x1b34], 0
jmp 0x10068c07
push ebx
push 0
push 1
push 0
lea eax, [edx + ebp]
push 1
push eax
call fcn.1006b440
mov ecx, dword [ebx + 0x1b28]
add esp, 0x18
add dword [ebx + 0x1b38], eax
mov eax, dword [ebx + 0x1b30]
adc dword [ebx + 0x1b3c], edx
mov al, byte [ecx + eax]
mov byte [edi + esi], al
mov eax, dword [ebx + 0x1b38]
mov ecx, dword [ebx + 0x1b3c]
mov dword [ebx + 0x1b30], eax
mov dword [ebx + 0x1b34], ecx
cmp byte [edi + esi], 0xa
je 0x10068c1b
mov eax, dword [esp + 0x20]
inc esi
dec eax
cmp esi, eax
jl 0x10068b80
mov ebp, dword [esp + 0x14]
mov byte [esi + edi], 0
mov edi, dword [esp + 0x18]
add edi, esi
mov dword [esp + 0x18], edi
jmp 0x10068727
push str.Format_conversion_z_not_implemented_yet._n
push ebx
call fcn.10069fd0
add esp, 8
jmp 0x10068727
mov edi, dword [esi]
add ebp, 4
push 0
mov eax, edi
mov dword [esp + 0x1c], edi
cdq
push edx
push eax
push ebx
call fcn.10068210
add esp, 0x10
jmp 0x10068727
mov eax, dword [esi]
add ebp, 4
push 1
cdq
push edx
push eax
push ebx
call fcn.10068210
add esp, 0x10
add edi, dword [esi]
mov dword [esp + 0x18], edi
jmp 0x10068727
mov dword [ebx + 0x1b30], 0
mov dword [ebx + 0x1b34], 0
mov dword [ebx + 0x1b38], 0
mov dword [ebx + 0x1b3c], 0
jmp 0x10068727
push ecx
push str._Invalid_format_specifier___c_n
push ebx
call fcn.10069fd0
add esp, 0xc
mov dword [ebx + 0x1ce4], 0x1d
jmp 0x10068727