Function at 0x40ce00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov esi, 1
mov ebp, 2
xor eax, eax
mov edx, dword [esp + 0x4c]
jmp 0x40ce23
inc esi
inc ebp
inc eax
mov ch, byte [edx + eax]
movzx edi, ch
lea ebx, [edi - 9]
cmp ebx, 5
jb 0x40ce20
cmp edi, 0x20
je 0x40ce20
mov byte [esp + 0xb], ch
add ch, 0xd5
xor ebx, ebx
test ch, 0xfd
sete bl
add ebx, edx
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov dword [esp + 0x1c], 0xffffffff
jmp 0x40ce6b
mov ebx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x1c], ebx
mov ecx, edi
mov edi, dword [esp + 0x14]
add edi, ecx
mov dword [esp + 0x2c], edi
movzx edx, byte [esi + edi - 1]
lea ebx, [edx - 0x30]
cmp ebx, 0xa
mov edi, ecx
jb 0x40ce60
mov dword [esp + 0x28], edx
cmp edx, 0x2e
mov ecx, dword [esp + 0x1c]
jne 0x40ce97
mov ebx, edi
test ecx, ecx
js 0x40ce64
xor ebx, ebx
test ecx, ecx
setns ch
mov edx, dword [esp + 0x4c]
jns 0x40cea8
mov dword [esp + 0x1c], edi
mov bl, ch
mov ecx, edi
sub ecx, ebx
je 0x40ceea
neg ebx
cmp ecx, 9
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ebx
jle 0x40cf0d
mov dword [esp + 0xc], ecx
add ecx, 0xfffffff6
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x14]
lea ecx, [edi + esi]
movzx edx, byte [edi + esi - 1]
cmp dl, 0x2e
jne 0x40cf26
movzx edx, byte [ecx]
lea ebx, [edi + ebp]
mov dword [esp], ebx
mov ebx, dword [esp + 0x10]
jmp 0x40cf29
mov eax, dword [esp + 0x50]
test eax, eax
movzx ecx, byte [esp + 0xb]
je 0x40cef9
mov dword [eax], edx
fldz
fld st(0)
fchs
cmp cl, 0x2d
jne 0x40d2f4
jmp 0x40d2fa
fldz
test ecx, ecx
mov ecx, dword [esp + 0x28]
jle 0x40cf5f
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x40d135
mov dword [esp], ecx
movsx ecx, dl
mov dword [esp + 0x18], ecx
add ecx, 0xffffffd0
cmp dword [esp + 4], 0
mov edi, dword [esp + 0x24]
je 0x40d12d
mov ebx, ecx
mov edx, dword [esp]
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x40cf66
movzx ecx, byte [edx + 1]
mov byte [esp + 4], cl
add edx, 2
mov dword [esp], edx
jmp 0x40cf6e
fld st(0)
jmp 0x40d18c
inc edx
mov dword [esp], edx
mov byte [esp + 4], cl
mov ecx, ebx
and ecx, 0xfffffff5
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xa
mov edx, ecx
xor edx, 0xa
imul edx, dword [esp + 0x20]
or ebx, 0xa
imul ebx, ecx
movsx ecx, byte [esp + 4]
mov dword [esp + 4], ecx
mov ecx, ebx
add ecx, edx
mov edx, dword [esp + 4]
add ecx, edx
add ecx, 0xffffffd0
mov edx, dword [esp + 0xc]
cmp edx, 0xc
jl 0x40d129
mov dword [esp + 0x18], ecx
lea ecx, [edx - 0xc]
mov edx, dword [esp]
mov bh, byte [edx]
cmp bh, 0x2e
mov dword [esp + 4], ecx
jne 0x40cfd6
movzx ecx, byte [edx + 1]
mov byte [esp + 0x20], cl
add edx, 2
mov dword [esp], edx
jmp 0x40cfe0
mov bl, bh
inc edx
mov dword [esp], edx
mov byte [esp + 0x20], bh
mov ebx, dword [esp + 0x18]
mov ecx, ebx
and ecx, 0xfffffff5
mov edx, ebx
and edx, 0xa
or ebx, 0xa
imul ebx, edx
xor edx, 0xa
imul edx, ecx
movsx ecx, byte [esp + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, ebx
add ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
add ecx, 0xffffffd0
cmp dword [esp + 4], 0
je 0x40d129
mov ebx, ecx
mov edx, dword [esp]
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x40d038
movzx ecx, byte [edx + 1]
mov byte [esp + 4], cl
add edx, 2
mov dword [esp], edx
jmp 0x40d040
inc edx
mov dword [esp], edx
mov byte [esp + 4], cl
mov ecx, ebx
and ecx, 0xfffffff5
mov edx, ebx
and edx, 0xa
or ebx, 0xa
imul ebx, edx
xor edx, 0xa
imul edx, ecx
movsx ecx, byte [esp + 4]
mov dword [esp + 4], ecx
mov ecx, ebx
add ecx, edx
mov edx, dword [esp + 4]
add ecx, edx
add ecx, 0xffffffd0
mov edx, dword [esp + 0xc]
cmp edx, 0xe
jl 0x40d129
mov ebx, ecx
add edx, 0xfffffff2
mov dword [esp + 0xc], edx
mov edx, dword [esp]
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x40d09d
movzx ecx, byte [edx + 1]
mov byte [esp + 4], cl
add edx, 2
mov dword [esp], edx
jmp 0x40d0a5
inc edx
mov dword [esp], edx
mov byte [esp + 4], cl
mov ecx, ebx
and ecx, 0xfffffff5
mov edx, ebx
and edx, 0xa
or ebx, 0xa
imul ebx, edx
xor edx, 0xa
imul edx, ecx
movsx ecx, byte [esp + 4]
mov dword [esp + 4], ecx
mov ecx, ebx
add ecx, edx
mov edx, dword [esp + 4]
add ecx, edx
add ecx, 0xffffffd0
cmp dword [esp + 0xc], 0
je 0x40d129
mov ebx, ecx
mov edx, dword [esp]
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x40d0f5
movzx ecx, byte [edx + 1]
mov byte [esp + 0xc], cl
add edx, 2
mov dword [esp], edx
jmp 0x40d0fd
inc edx
mov dword [esp], edx
mov byte [esp + 0xc], cl
mov ecx, ebx
and ecx, 0xfffffff5
mov edx, ebx
and edx, 0xa
or ebx, 0xa
imul ebx, edx
xor edx, 0xa
imul edx, ecx
movsx ecx, byte [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, ebx
add ecx, edx
mov edx, dword [esp + 0xc]
add ecx, edx
add ecx, 0xffffffd0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
lea edx, [ebx + edi]
cmp edx, 9
jl 0x40d142
mov edx, 9
inc edx
xor ebx, ebx
jmp 0x40d16f
mov ch, byte [edi + 1]
add edi, 2
mov dword [esp], edi
lea ebx, [ebx + ebx*4]
movsx edi, ch
lea ebx, [edi + ebx*2]
add ebx, 0xffffffd0
dec edx
cmp edx, 1
mov edi, dword [esp + 0x24]
jle 0x40d17c
mov edi, dword [esp]
mov ch, byte [edi]
cmp ch, 0x2e
je 0x40d150
inc edi
jmp 0x40d156
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
fxch st(1)
fmul dword [str._knN]
faddp st(1)
or ecx, 0x20
cmp ecx, 0x65
jne 0x40d1bc
mov eax, dword [esp + 0x2c]
movzx edx, byte [esi + eax]
mov eax, edx
add al, 0xd5
test al, 0xfd
je 0x40d1ca
mov ecx, edi
mov edi, dword [esp + 0x14]
add edi, esi
mov eax, edi
add edi, ecx
jmp 0x40d1d8
add eax, edi
add dword [esp + 0x14], eax
xor eax, eax
mov edi, dword [esp + 0x50]
jmp 0x40d234
mov esi, dword [esp + 0x14]
add esi, ebp
mov eax, esi
add esi, edi
mov ecx, edi
mov edi, esi
movzx ebx, byte [eax + ecx]
lea esi, [ebx - 0x30]
xor eax, eax
cmp esi, 9
mov ecx, dword [esp + 0x50]
ja 0x40d221
xor eax, eax
mov ebp, edi
nop
nop
mov esi, eax
or esi, 0xa
mov edi, eax
and edi, 0xa
imul esi, edi
xor edi, 0xa
and eax, 0xfffffff5
imul eax, edi
movsx edi, bl
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 0x40d1f0
jmp 0x40d223
mov ebp, edi
mov dword [esp + 0x14], ebp
cmp dl, 0x2d
jne 0x40d22e
neg eax
mov ebx, dword [esp + 0x10]
mov edi, ecx
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ebx]
cmp edx, 0x10
jge 0x40d245
mov edx, 0xf
mov ebp, dword [esp + 0x1c]
add ebp, eax
add ebp, edx
mov eax, ebp
sub eax, ebx
mov ecx, ebx
mov ebx, dword [esp + 0x24]
sub eax, ebx
add eax, 0xfffffff1
mov esi, eax
sar esi, 0x1f
mov edx, eax
xor edx, esi
sub edx, esi
cmp edx, 0x200
jb 0x40d288
mov edx, 0x1ff
mov esi, dword [esp + 0x54]
test esi, esi
je 0x40d282
mov dword [esi], 0x22
mov ecx, edi
fldz
jmp 0x40d298
sub ecx, ebp
lea esi, [ecx + ebx]
add esi, 0xf
fld1
test esi, esi
mov ecx, edi
je 0x40d2c7
fstp st(0)
fld1
mov esi, 0x44d718
jmp 0x40d2be
mov ebx, edx
shr ebx, 1
add esi, 8
cmp edx, 2
mov edx, ebx
jb 0x40d2c7
test dl, 1
je 0x40d2b0
fmul qword [esi]
jmp 0x40d2b0
fld st(1)
fmul st(1)
test eax, eax
jns 0x40d2db
fstp st(0)
fdivp st(1)
fldz
fldz
fxch st(1)
fxch st(2)
fstp st(2)
fstp st(0)
test ecx, ecx
mov edi, dword [esp + 0x14]
je 0x40d2e9
mov dword [ecx], edi
fld st(0)
fchs
cmp byte [esp + 0xb], 0x2d
je 0x40d2fa
fstp st(0)
fldz
fxch st(1)
fstp st(1)
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret