Function at 0x408d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, 1
mov ebp, 2
xor esi, esi
mov ebx, dword [esp + 0x40]
jmp 0x408da3
inc eax
inc ebp
inc esi
mov ch, byte [ebx + esi]
movzx edx, ch
lea edi, [edx - 9]
cmp edi, 5
jb 0x408da0
cmp edx, 0x20
je 0x408da0
mov dword [esp + 0x14], eax
mov byte [esp + 3], ch
add ch, 0xd5
xor edx, edx
test ch, 0xfd
sete dl
add edx, ebx
mov dword [esp + 8], edx
mov edi, 0xffffffff
xor ecx, ecx
jmp 0x408de7
mov edx, edi
mov ecx, eax
inc ecx
mov edi, edx
mov edx, dword [esp + 8]
mov eax, ecx
add ecx, edx
movzx ebx, byte [esi + ecx]
lea edx, [ebx - 0x30]
cmp edx, 0xa
jb 0x408de0
mov dword [esp + 0x18], ebx
cmp bl, 0x2e
jne 0x408e0a
mov edx, eax
test edi, edi
js 0x408de2
xor ebx, ebx
test edi, edi
setns dl
jns 0x408e15
mov edi, eax
mov bl, dl
mov edx, eax
mov dword [esp + 4], ebx
sub edx, ebx
mov ebx, edx
cmp edx, 0xf
jl 0x408e2b
mov ebx, 0xf
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
cmp edx, 0x10
mov edx, dword [esp + 0x18]
jge 0x408e44
mov dword [esp + 0xc], 0xf
test ebx, ebx
je 0x408e88
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 4]
add edi, ecx
sub edi, eax
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 8]
mov edi, ebx
lea ebx, [ecx + esi]
mov dword [esp + 4], edi
cmp edi, 9
mov dword [esp + 0x10], eax
jle 0x408e9d
movzx ecx, byte [ebx]
cmp cl, 0x2e
jne 0x408eb5
mov ecx, dword [esp + 8]
lea ebx, [ecx + ebp]
movzx ecx, byte [ecx + esi + 1]
jmp 0x408ec0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x408e96
mov eax, dword [esp + 0x40]
mov dword [edx], eax
fldz
jmp 0x4090f9
fldz
fld st(0)
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 4]
jg 0x408f91
jmp 0x408fd6
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x14]
lea ebx, [edx + edi]
movsx ecx, cl
add ecx, 0xffffffd0
cmp dword [esp + 4], 0xb
jl 0x408f82
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x408ee1
movzx eax, byte [ebx + 1]
add ebx, 2
jmp 0x408ee2
inc ebx
lea ecx, [ecx + ecx*4]
movsx eax, al
lea ecx, [eax + ecx*2]
add ecx, 0xffffffd0
cmp dword [esp + 4], 0xc
jl 0x408f82
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x408f09
movzx eax, byte [ebx + 1]
add ebx, 2
jmp 0x408f0a
inc ebx
lea ecx, [ecx + ecx*4]
movsx eax, al
lea ecx, [eax + ecx*2]
add ecx, 0xffffffd0
cmp dword [esp + 4], 0xd
jl 0x408f82
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x408f2d
movzx eax, byte [ebx + 1]
add ebx, 2
jmp 0x408f2e
inc ebx
lea ecx, [ecx + ecx*4]
movsx eax, al
lea ecx, [eax + ecx*2]
add ecx, 0xffffffd0
cmp dword [esp + 4], 0xe
jl 0x408f82
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x408f51
movzx eax, byte [ebx + 1]
add ebx, 2
jmp 0x408f52
inc ebx
lea ecx, [ecx + ecx*4]
movsx eax, al
lea ecx, [eax + ecx*2]
add ecx, 0xffffffd0
cmp dword [esp + 4], 0xf
jl 0x408f82
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x408f75
movzx eax, byte [ebx + 1]
add ebx, 2
jmp 0x408f76
inc ebx
lea edx, [ecx + ecx*4]
movsx eax, al
lea ecx, [eax + edx*2]
add ecx, 0xffffffd0
mov dword [esp + 0x28], ecx
mov edi, 9
fild dword [esp + 0x28]
fldz
fstp st(0)
inc edi
xor eax, eax
jmp 0x408fc0
mov ch, byte [ebx + 1]
add ebx, 2
lea eax, [eax + eax*4]
movsx edx, ch
lea eax, [edx + eax*2]
add eax, 0xffffffd0
mov ecx, edi
dec ecx
mov edi, ecx
cmp ecx, 1
mov edx, dword [esp + 0x18]
jle 0x408fca
mov ch, byte [ebx]
cmp ch, 0x2e
je 0x408fa0
inc ebx
jmp 0x408fa6
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov ecx, dword [esp + 8]
fxch st(1)
fmul dword [str._knN]
add dword [esp + 0xc], 0xfffffff1
faddp st(1)
or edx, 0x20
cmp edx, 0x65
jne 0x40900e
mov eax, dword [esp + 0x1c]
movzx eax, byte [esi + eax + 1]
mov edx, eax
add dl, 0xd5
test dl, 0xfd
mov ecx, dword [esp + 0x10]
je 0x40901a
mov esi, dword [esp + 8]
add esi, dword [esp + 0x14]
jmp 0x409020
add esi, dword [esp + 0x10]
add ecx, esi
mov edi, ecx
xor edx, edx
jmp 0x409073
mov esi, dword [esp + 8]
add esi, ebp
mov edx, esi
lea ebp, [esi + ecx]
movzx ebx, byte [esi + ecx]
lea esi, [ebx - 0x30]
xor edx, edx
cmp esi, 9
ja 0x40906b
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, edx
lea edx, [edx + edx*4]
movsx esi, bl
mov edi, esi
or edi, 0xffffffcf
and esi, 0xffffffcf
add esi, edi
inc esi
mov edi, esi
and edi, edx
xor esi, edx
lea edx, [esi + edi*2]
movzx ebx, byte [ebp + 1]
inc ebp
mov esi, ebx
add esi, 0xffffffd0
cmp esi, 0xa
jb 0x409040
mov edi, ebp
cmp al, 0x2d
jne 0x409073
neg edx
mov eax, edx
mov esi, dword [esp + 0xc]
and eax, esi
xor edx, esi
lea eax, [edx + eax*2]
mov esi, eax
sar esi, 0x1f
mov edx, eax
xor edx, esi
sub edx, esi
cmp edx, 0x200
jl 0x4090aa
mov edx, 0x1ff
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4090a6
mov dword [esi], 0x22
fldz
jmp 0x4090b0
fld1
test eax, eax
je 0x4090d7
fstp st(0)
fld1
mov esi, 0x4434e0
jmp 0x4090ce
mov ebx, edx
sar ebx, 1
add esi, 8
cmp edx, 2
mov edx, ebx
jb 0x4090d7
test dl, 1
je 0x4090c0
fmul qword [esi]
jmp 0x4090c0
fld st(1)
fmul st(1)
test eax, eax
jns 0x4090eb
fstp st(0)
fdivp st(1)
fldz
fldz
fxch st(1)
fxch st(2)
fstp st(2)
fstp st(0)
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4090f9
mov dword [eax], edi
fld st(0)
fchs
cmp byte [esp + 3], 0x2d
je 0x40910a
fstp st(0)
fldz
fxch st(1)
fstp st(1)
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret