Function at 0x1088940
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, 1
mov ebp, 2
xor eax, eax
mov edx, dword [esp + 0x44]
jmp 0x1088963
inc esi
inc ebp
inc eax
mov ch, byte [edx + eax]
movzx edi, ch
lea ebx, [edi - 9]
cmp ebx, 5
jb 0x1088960
cmp edi, 0x20
je 0x1088960
mov byte [esp + 0xb], ch
add ch, 0xd5
xor ebx, ebx
test ch, 0xfd
sete bl
add ebx, edx
mov dword [esp + 0x10], ebx
xor edi, edi
mov ebx, 0xffffffff
jmp 0x10889a5
mov edi, dword [esp + 4]
inc edi
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x10]
add ecx, edi
movzx edx, byte [esi + ecx - 1]
lea edi, [edx - 0x30]
cmp edi, 0xa
jb 0x10889a0
mov edi, ebx
mov dword [esp + 0x20], edx
cmp edx, 0x2e
jne 0x10889cf
mov ebx, dword [esp + 4]
test edi, edi
js 0x10889a0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edi
test edi, edi
setns ch
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x44]
jns 0x10889ea
mov dword [esp + 0x18], edi
xor ebx, ebx
mov bl, ch
mov ecx, edi
sub ecx, ebx
je 0x1088a28
neg ebx
cmp ecx, 9
mov dword [esp + 0xc], ebx
jle 0x1088a4b
mov dword [esp + 0x14], ecx
add ecx, 0xfffffff6
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x10]
lea edx, [ebx + esi]
mov ch, byte [ebx + esi - 1]
cmp ch, 0x2e
jne 0x1088a62
mov ch, byte [edx]
lea edi, [ebx + ebp]
mov dword [esp], edi
mov edi, dword [esp + 4]
jmp 0x1088a65
mov eax, dword [esp + 0x48]
test eax, eax
movzx ecx, byte [esp + 0xb]
je 0x1088a37
mov dword [eax], edx
fldz
fld st(0)
fchs
cmp cl, 0x2d
jne 0x1088d42
jmp 0x1088d48
fldz
test ecx, ecx
jle 0x1088a8c
mov edx, ebx
mov ebx, dword [esp + 0x10]
lea ecx, [ebx + eax]
mov dword [esp], ecx
jmp 0x1088b7f
mov dword [esp], edx
movsx ecx, ch
add ecx, 0xffffffd0
cmp dword [esp + 0x1c], 0
je 0x1088b73
mov edi, ecx
mov ecx, dword [esp]
movzx edx, byte [ecx]
cmp dl, 0x2e
jne 0x1088a93
movzx edx, byte [ecx + 1]
add ecx, 2
jmp 0x1088a94
fld st(0)
jmp 0x1088bcc
inc ecx
mov dword [esp], ecx
lea edi, [edi + edi*4]
movsx edx, dl
lea ecx, [edx + edi*2]
add ecx, 0xffffffd0
mov edx, dword [esp + 0x14]
cmp edx, 0xc
jl 0x1088b6f
mov edi, ecx
lea ecx, [edx - 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp]
mov ch, byte [edx]
cmp ch, 0x2e
jne 0x1088acb
mov ch, byte [edx + 1]
add edx, 2
jmp 0x1088acc
inc edx
mov dword [esp], edx
lea edi, [edi + edi*4]
movsx edx, ch
lea ecx, [edx + edi*2]
add ecx, 0xffffffd0
cmp dword [esp + 0x1c], 0
je 0x1088b6f
mov edi, ecx
mov ecx, dword [esp]
movzx edx, byte [ecx]
cmp dl, 0x2e
jne 0x1088afc
movzx edx, byte [ecx + 1]
add ecx, 2
jmp 0x1088afd
inc ecx
mov dword [esp], ecx
lea edi, [edi + edi*4]
movsx edx, dl
lea ecx, [edx + edi*2]
add ecx, 0xffffffd0
mov edx, dword [esp + 0x14]
cmp edx, 0xe
jl 0x1088b6f
mov edi, ecx
add edx, 0xfffffff2
mov dword [esp + 0x14], edx
mov ecx, dword [esp]
movzx edx, byte [ecx]
cmp dl, 0x2e
jne 0x1088b32
movzx edx, byte [ecx + 1]
add ecx, 2
jmp 0x1088b33
inc ecx
mov dword [esp], ecx
lea edi, [edi + edi*4]
movsx edx, dl
lea ecx, [edx + edi*2]
add ecx, 0xffffffd0
cmp dword [esp + 0x14], 0
je 0x1088b6f
mov edi, ecx
mov ecx, dword [esp]
movzx edx, byte [ecx]
cmp dl, 0x2e
jne 0x1088b5f
movzx edx, byte [ecx + 1]
add ecx, 2
jmp 0x1088b60
inc ecx
mov dword [esp], ecx
lea edi, [edi + edi*4]
movsx edx, dl
lea ecx, [edx + edi*2]
add ecx, 0xffffffd0
mov edi, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
add edx, edi
cmp edx, 9
jl 0x1088b8b
mov edx, 9
inc edx
xor edi, edi
jmp 0x1088baf
mov ch, byte [ebx + 1]
add ebx, 2
mov dword [esp], ebx
lea edi, [edi + edi*4]
movsx ebx, ch
lea edi, [ebx + edi*2]
add edi, 0xffffffd0
dec edx
cmp edx, 1
mov ecx, dword [esp + 0x18]
jle 0x1088bbc
mov ebx, dword [esp]
mov ch, byte [ebx]
cmp ch, 0x2e
je 0x1088b90
inc ebx
jmp 0x1088b96
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
fxch st(1)
fmul dword [str._knN]
faddp st(1)
or ecx, 0x20
cmp ecx, 0x65
jne 0x1088bff
mov eax, dword [esp + 0x24]
movzx edx, byte [esi + eax]
mov eax, edx
add al, 0xd5
test al, 0xfd
je 0x1088c0d
mov ebx, dword [esp + 0x10]
add ebx, esi
mov eax, ebx
lea esi, [ebx + edi]
jmp 0x1088c17
add eax, edi
add dword [esp + 0x10], eax
xor eax, eax
mov ecx, dword [esp + 0x48]
jmp 0x1088c82
mov esi, dword [esp + 0x10]
add esi, ebp
mov eax, esi
add esi, edi
mov ebx, edi
mov edi, esi
movzx ebx, byte [eax + ebx]
lea esi, [ebx - 0x30]
xor eax, eax
cmp esi, 9
mov ecx, dword [esp + 0x48]
ja 0x1088c71
xor eax, eax
mov ebp, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx esi, bl
mov edi, eax
or edi, 0xa
mov ebx, eax
and ebx, 0xa
imul edi, ebx
xor ebx, 0xa
and eax, 0xfffffff5
imul eax, ebx
add edi, esi
add eax, edi
add eax, 0xffffffd0
movzx ebx, byte [ebp + 1]
inc ebp
mov esi, ebx
add esi, 0xffffffd0
cmp esi, 0xa
jb 0x1088c40
jmp 0x1088c73
mov ebp, edi
cmp dl, 0x2d
mov dword [esp + 0x10], ebp
jne 0x1088c7e
neg eax
mov edi, dword [esp + 4]
mov edx, dword [esp + 0xc]
add edx, edi
cmp edx, 0x10
jge 0x1088c92
mov edx, 0xf
mov ebx, dword [esp + 0x18]
add ebx, eax
add ebx, edx
mov eax, ebx
mov ebp, dword [esp + 0xc]
sub eax, ebp
sub eax, edi
add eax, 0xfffffff1
mov esi, eax
sar esi, 0x1f
mov edx, eax
xor edx, esi
sub edx, esi
cmp edx, 0x200
jb 0x1088cd5
mov edx, 0x1ff
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1088ccd
mov dword [esi], 0x22
mov ebx, dword [esp + 0x10]
fldz
jmp 0x1088ce7
sub ebp, ebx
lea esi, [edi + ebp]
add esi, 0xf
fld1
test esi, esi
mov ebx, dword [esp + 0x10]
je 0x1088d19
fstp st(0)
fld1
mov esi, 0x10c3250
mov edi, ebx
jmp 0x1088d10
mov ebx, edx
shr ebx, 1
add esi, 8
cmp edx, 2
mov edx, ebx
mov ebx, edi
jb 0x1088d19
test dl, 1
je 0x1088d00
fmul qword [esi]
jmp 0x1088d00
fld st(1)
fmul st(1)
test eax, eax
jns 0x1088d2d
fstp st(0)
fdivp st(1)
fldz
fldz
fxch st(1)
fxch st(2)
fstp st(2)
fstp st(0)
test ecx, ecx
je 0x1088d37
mov dword [ecx], ebx
fld st(0)
fchs
cmp byte [esp + 0xb], 0x2d
je 0x1088d48
fstp st(0)
fldz
fxch st(1)
fstp st(1)
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret